GradientRadialShading.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/shared_ptr.h>
5 
6 #include "Aspose.PDF.Cpp/Generator/Drawing/PatternColorSpace.h"
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Pdf
12 {
13 class Color;
14 class Point;
15 } // namespace Pdf
16 } // namespace Aspose
17 
18 namespace Aspose {
19 
20 namespace Pdf {
21 
22 namespace Drawing {
23 
27 class ASPOSE_PDF_SHARED_CLASS GradientRadialShading : public Aspose::Pdf::Drawing::PatternColorSpace
28 {
31 
32  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
33  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
34 
35 public:
36 
40  ASPOSE_PDF_SHARED_API System::SharedPtr<Point> get_Start() const;
44  ASPOSE_PDF_SHARED_API void set_Start(System::SharedPtr<Point> value);
48  ASPOSE_PDF_SHARED_API System::SharedPtr<Point> get_End() const;
52  ASPOSE_PDF_SHARED_API void set_End(System::SharedPtr<Point> value);
56  ASPOSE_PDF_SHARED_API double get_StartingRadius() const;
60  ASPOSE_PDF_SHARED_API void set_StartingRadius(double value);
64  ASPOSE_PDF_SHARED_API double get_EndingRadius() const;
68  ASPOSE_PDF_SHARED_API void set_EndingRadius(double value);
72  ASPOSE_PDF_SHARED_API System::SharedPtr<Color> get_StartColor() const;
76  ASPOSE_PDF_SHARED_API void set_StartColor(System::SharedPtr<Color> value);
80  ASPOSE_PDF_SHARED_API System::SharedPtr<Color> get_EndColor() const;
84  ASPOSE_PDF_SHARED_API void set_EndColor(System::SharedPtr<Color> value);
85 
89  ASPOSE_PDF_SHARED_API GradientRadialShading();
95  ASPOSE_PDF_SHARED_API GradientRadialShading(System::SharedPtr<Color> startColor, System::SharedPtr<Color> endColor);
96 
97 protected:
98 
99  bool get_ExtendBeyondStart() const;
100  void set_ExtendBeyondStart(bool value);
101  bool get_ExtendBeyondEnd() const;
102  void set_ExtendBeyondEnd(bool value);
103 
104 private:
105 
108  System::SharedPtr<Color> startColor;
109  System::SharedPtr<Color> endColor;
110  double pr_StartingRadius;
111  double pr_EndingRadius;
112  bool extendBeyondStart;
113  bool extendBeyondEnd;
114 
115 };
116 
117 } // namespace Drawing
118 } // namespace Pdf
119 } // namespace Aspose
120 
121 
Represents base pattern class.
Definition: PatternColorSpace.h:39
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Definition: AFRelationship.h:4
A printer&#39;s point (1/72 of an inch).
means saving without change of format, i.e. as PDF use it please instead of &#39;SaveFormat.None&#39;, that is obsolete one
Represents gradient radial shading type.
Definition: GradientRadialShading.h:27
Whole PDF file will be submitted.