System::Drawing::Drawing2D::LinearGradientBrush class
Contents
[
Hide
]LinearGradientBrush class
Represents a linear gradient brush. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class LinearGradientBrush : public System::Drawing::Brush
Methods
| Method | Description |
|---|---|
| Clone() override | Creates a copy of the current object. |
| get_Blend() const | Returns a blend that specifies factors and positions of base colors for this brush. |
| get_GammaCorrection() const | Returns a value indicating that gamma correction is enabled for this brush. |
| get_InterpolationColors() const | Returns a ColorBlend object that defines a multicolor linear gradient. |
| get_LinearColors() const | Returns starting and ending colors of this gradient. |
| get_Rectangle() | Returns a bounding rectangle. |
| get_Transform() const | Returns a copy of a Matrix object that specifies the geometrical transformations for the brush represented by the current object. |
| get_WrapMode() const | Returns the wrap mode. |
| LinearGradientBrush(const PointF&, const PointF&, const Color&, const Color&) | RTTI information. |
| LinearGradientBrush(const Point&, const Point&, const Color&, const Color&) | Constructs a new instance of LinearGradientBrush. |
| LinearGradientBrush(const RectangleF&, const Color&, const Color&, LinearGradientMode) | Constructs a new instance of LinearGradientBrush. |
| LinearGradientBrush(const Rectangle&, const Color&, const Color&, LinearGradientMode) | Constructs a new instance of LinearGradientBrush. |
| LinearGradientBrush(const RectangleF&, const Color&, const Color&, float, bool) | Constructs a new instance of LinearGradientBrush. |
| LinearGradientBrush(const Rectangle&, const Color&, const Color&, float, bool) | Constructs a new instance of LinearGradientBrush. |
| MultiplyTransform(const SharedPtr<Matrix>&, MatrixOrder) | Multiplies current object’s transform matrix by the specified matrix. |
| ResetTransform() | Resets current object’s transformation matrix. |
| RotateTransform(float, MatrixOrder) | Rotates current object’s transform matrix. |
| ScaleTransform(float, float, MatrixOrder) | Scales current object’s transform matrix. |
| set_Blend(const SharedPtr<Blend>&) | Sets a blend that specifies factors and positions of base colors for this brush. |
| set_GammaCorrection(bool) | Sets gamma correction status for this brush. |
| set_InterpolationColors(const SharedPtr<ColorBlend>&) | Sets a ColorBlend object that defines a multicolor linear gradient. |
| set_LinearColors(const ArrayPtr<Color>&) | Sets starting and ending colors of this gradient. |
| set_Transform(const SharedPtr<Matrix>&) | Sets a Matrix object that specifies the geometrical transformations for the brush represented by the current object. |
| set_WrapMode(WrapMode) | Sets the wrap mode. |
| SetBlendTriangularShape(float, float) | NOT IMPLEMENTED. |
| SetSigmaBellShape(float, float) | NOT IMPLEMENTED. |
| TranslateTransform(float, float, Drawing2D::MatrixOrder) | Translates current object’s transform matrix. |
See Also
- Class Brush
- Namespace System::Drawing::Drawing2D
- Library Aspose.PUB for C++