GraphInfo.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/icloneable.h>
5 #include <system/array.h>
6 #include <cstdint>
7 
8 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
9 
10 namespace Aspose
11 {
12 namespace Pdf
13 {
14 class BorderInfo;
15 class Color;
16 namespace Drawing
17 {
18 class Graph;
19 class Path;
20 class Shape;
21 } // namespace Drawing
22 class Table;
23 } // namespace Pdf
24 } // namespace Aspose
25 namespace System
26 {
27 namespace Xml
28 {
29 class XmlReader;
30 class XmlTextWriter;
31 } // namespace Xml
32 } // namespace System
33 
34 namespace Aspose {
35 
36 namespace Pdf {
37 
41 class ASPOSE_PDF_SHARED_CLASS GraphInfo final : public System::ICloneable
42 {
43  typedef GraphInfo ThisType;
45 
46  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
47  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
48 
53  friend class Aspose::Pdf::Table;
54 
55 public:
56 
60  ASPOSE_PDF_SHARED_API float get_LineWidth() const;
64  ASPOSE_PDF_SHARED_API void set_LineWidth(float value);
68  ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Color> get_Color() const;
72  ASPOSE_PDF_SHARED_API void set_Color(System::SharedPtr<Aspose::Pdf::Color> value);
76  ASPOSE_PDF_SHARED_API System::ArrayPtr<int32_t> get_DashArray() const;
80  ASPOSE_PDF_SHARED_API void set_DashArray(System::ArrayPtr<int32_t> value);
84  ASPOSE_PDF_SHARED_API int32_t get_DashPhase() const;
88  ASPOSE_PDF_SHARED_API void set_DashPhase(int32_t value);
92  ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Color> get_FillColor() const;
96  ASPOSE_PDF_SHARED_API void set_FillColor(System::SharedPtr<Aspose::Pdf::Color> value);
100  ASPOSE_PDF_SHARED_API bool get_IsDoubled() const;
104  ASPOSE_PDF_SHARED_API void set_IsDoubled(bool value);
108  ASPOSE_PDF_SHARED_API double get_SkewAngleX() const;
112  ASPOSE_PDF_SHARED_API void set_SkewAngleX(double value);
116  ASPOSE_PDF_SHARED_API double get_SkewAngleY() const;
120  ASPOSE_PDF_SHARED_API void set_SkewAngleY(double value);
124  ASPOSE_PDF_SHARED_API double get_ScalingRateX() const;
128  ASPOSE_PDF_SHARED_API void set_ScalingRateX(double value);
132  ASPOSE_PDF_SHARED_API double get_ScalingRateY() const;
136  ASPOSE_PDF_SHARED_API void set_ScalingRateY(double value);
141  ASPOSE_PDF_SHARED_API double get_RotationAngle() const;
146  ASPOSE_PDF_SHARED_API void set_RotationAngle(double value);
147 
152  ASPOSE_PDF_SHARED_API System::SharedPtr<System::Object> Clone() override;
153 
154  ASPOSE_PDF_SHARED_API GraphInfo();
155 
156 protected:
157 
158  bool get_IsDefault();
162  double get_Ratio();
163 
166 
167 private:
168 
170  System::ArrayPtr<int32_t> dashArray;
171  int32_t dashPhase;
173  float lineWidth;
174  bool isDoubled;
175  double rotationAngle;
176  double skewAngleX;
177  double skewAngleY;
178  double scalingRateX;
179  double scalingRateY;
180 
181 };
182 
183 } // namespace Pdf
184 } // namespace Aspose
185 
186 
Represents graph - graphics generator paragraph.
Definition: Graph.h:53
Represents graphics info.
Definition: GraphInfo.h:41
ASPOSE_PDF_SHARED_API void Serialize(System::SharedPtr< System::Xml::XmlTextWriter > writer) override
Definition: Artifact.h:67
Represents arc.
Definition: Path.h:42
This class represents border for graphics elements.
Definition: BorderInfo.h:42
Represents shape - the base graphics object.
Definition: Shape.h:60
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
means saving in XML format
Definition: AFRelationship.h:4
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:15
ASPOSE_PDF_SHARED_API System::SharedPtr< System::Object > Clone() override
Clone the table.
ASPOSE_PDF_SHARED_API void Deserialize(System::SharedPtr< System::Xml::XmlReader > reader) override
Represents a table that can be added to the page.
Definition: Table.h:86
The LocalPath data.
Whole PDF file will be submitted.