System::Drawing::Drawing2D::PathGradientBrush class

PathGradientBrush class

Represents a brush that fills the interior of a GraphicsPath object with a gradient. 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 PathGradientBrush : public System::Drawing::Brush

Methods

MethodDescription
Clone() overrideCreates a copy of the current object.
get_Blend() constNOT IMPLEMENTED.
get_CenterColor() constReturns a color that is at the center of the path filled by the current object.
get_CenterPoint() constGets the center point of the gradient.
get_FocusScales() constGets the focus point for the gradient falloff.
get_InterpolationColors() constReturns a value the defines a multicolor linear gradient.
get_Rectangle()NOT IMPLEMENTED.
get_SurroundColors() constReturns colors that correspond to the points in the path this PathGradientBrush fills.
get_Transform() constReturns a copy of a Matrix object that specifies the geometrical transformations for the brush represented by the current object.
get_WrapMode() constReturns the wrap mode.
MultiplyTransform(const SharedPtr<Matrix>&, MatrixOrder)Multiplies current object’s transform matrix by the specified matrix.
PathGradientBrush(const ArrayPtr<PointF>&, WrapMode)RTTI information.
PathGradientBrush(const ArrayPtr<Point>&, WrapMode)Constructs a new instance of PathGradientBrush class.
PathGradientBrush(const SharedPtr<GraphicsPath>&)Constructs a new instance of PathGradientBrush class.
ResetTransform()Resets the current object’s transform matrix so that it becomes an identity matrix.
RotateTransform(float, Drawing2D::MatrixOrder)Rotates the local geometric transformation by the specified angle in the specified order.
ScaleTransform(float, float, Drawing2D::MatrixOrder)Scales the local geometric transformation by the specified factors in the specified order.
set_Blend(const SharedPtr<Blend>&)Sets a blend that specifies factors and positions of base colors for this brush.
set_CenterColor(Color)Sets a color that is at the center of the path filled by the current object.
set_CenterPoint(const PointF&)Sets the center point of the gradient.
set_FocusScales(const PointF&)Sets the focus point for the gradient falloff.
set_InterpolationColors(const SharedPtr<ColorBlend>&)Sets a value the defines a multicolor linear gradient.
set_SurroundColors(const ArrayPtr<Color>&)Sets colors that correspond to the points in the path this PathGradientBrush fills.
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 the local geometric transformation by the specified dimensions in the specified order.

See Also