System::Drawing::Drawing2D::LinearGradientBrush::LinearGradientBrush constructor
Contents
[
Hide
]LinearGradientBrush::LinearGradientBrush(const Point&, const Point&, const Color&, const Color&) constructor
Constructs a new instance of LinearGradientBrush.
System::Drawing::Drawing2D::LinearGradientBrush::LinearGradientBrush(const Point &point1, const Point &point2, const Color &color1, const Color &color2)
Parameter | Type | Description |
---|---|---|
point1 | const Point& | The start point of the gradient |
point2 | const Point& | The end point of the gradient |
color1 | const Color& | The start color of the gradient |
color2 | const Color& | The end color of the gradient |
See Also
- Class Point
- Class Color
- Class LinearGradientBrush
- Namespace System::Drawing::Drawing2D
- Library Aspose.TeX for C++
LinearGradientBrush::LinearGradientBrush(const PointF&, const PointF&, const Color&, const Color&) constructor
RTTI information.
System::Drawing::Drawing2D::LinearGradientBrush::LinearGradientBrush(const PointF &point1, const PointF &point2, const Color &color1, const Color &color2)
Parameter | Type | Description |
---|---|---|
point1 | const PointF& | The start point of the gradient |
point2 | const PointF& | The end point of the gradient |
color1 | const Color& | The start color of the gradient |
color2 | const Color& | The end color of the gradient |
Remarks
Constructs a new instance of LinearGradientBrush.
See Also
- Class PointF
- Class Color
- Class LinearGradientBrush
- Namespace System::Drawing::Drawing2D
- Library Aspose.TeX for C++
LinearGradientBrush::LinearGradientBrush(const Rectangle&, const Color&, const Color&, float, bool) constructor
Constructs a new instance of LinearGradientBrush.
System::Drawing::Drawing2D::LinearGradientBrush::LinearGradientBrush(const Rectangle &rect, const Color &color1, const Color &color2, float angle, bool isAngleScaleable=false)
Parameter | Type | Description |
---|---|---|
rect | const Rectangle& | A bounding rectangle of the gradient |
color1 | const Color& | The start color of the gradient |
color2 | const Color& | The end color of the gradient |
angle | float | The angle of the gradient orientation line; measured in degrees clockwise from the x-axis |
isAngleScaleable | bool | Specifies if the angle of the gradient is affected by the transformation associated with the brush |
See Also
- Class Rectangle
- Class Color
- Class LinearGradientBrush
- Namespace System::Drawing::Drawing2D
- Library Aspose.TeX for C++
LinearGradientBrush::LinearGradientBrush(const Rectangle&, const Color&, const Color&, LinearGradientMode) constructor
Constructs a new instance of LinearGradientBrush.
System::Drawing::Drawing2D::LinearGradientBrush::LinearGradientBrush(const Rectangle &rect, const Color &color1, const Color &color2, LinearGradientMode linearGradientMode)
Parameter | Type | Description |
---|---|---|
rect | const Rectangle& | A bounding rectangle of the gradient |
color1 | const Color& | The start color of the gradient |
color2 | const Color& | The end color of the gradient |
linearGradientMode | LinearGradientMode | The gradient direction |
See Also
- Class Rectangle
- Class Color
- Enum LinearGradientMode
- Class LinearGradientBrush
- Namespace System::Drawing::Drawing2D
- Library Aspose.TeX for C++
LinearGradientBrush::LinearGradientBrush(const RectangleF&, const Color&, const Color&, float, bool) constructor
Constructs a new instance of LinearGradientBrush.
System::Drawing::Drawing2D::LinearGradientBrush::LinearGradientBrush(const RectangleF &rect, const Color &color1, const Color &color2, float angle, bool isAngleScaleable=false)
Parameter | Type | Description |
---|---|---|
rect | const RectangleF& | A bounding rectangle of the gradient |
color1 | const Color& | The start color of the gradient |
color2 | const Color& | The end color of the gradient |
angle | float | The angle of the gradient orientation line; measured in degrees clockwise from the x-axis |
isAngleScaleable | bool | Specifies if the angle of the gradient is affected by the transformation associated with the brush |
See Also
- Class RectangleF
- Class Color
- Class LinearGradientBrush
- Namespace System::Drawing::Drawing2D
- Library Aspose.TeX for C++
LinearGradientBrush::LinearGradientBrush(const RectangleF&, const Color&, const Color&, LinearGradientMode) constructor
Constructs a new instance of LinearGradientBrush.
System::Drawing::Drawing2D::LinearGradientBrush::LinearGradientBrush(const RectangleF &rect, const Color &color1, const Color &color2, LinearGradientMode linearGradientMode)
Parameter | Type | Description |
---|---|---|
rect | const RectangleF& | A bounding rectangle of the gradient |
color1 | const Color& | The start color of the gradient |
color2 | const Color& | The end color of the gradient |
linearGradientMode | LinearGradientMode | The gradient direction |
See Also
- Class RectangleF
- Class Color
- Enum LinearGradientMode
- Class LinearGradientBrush
- Namespace System::Drawing::Drawing2D
- Library Aspose.TeX for C++