EmfPlusPathGradientBrushData Class
The EmfPlusPathGradientBrushData object specifies a path gradient for a graphics brush.
Inheritance Hierarchy

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public sealed class EmfPlusPathGradientBrushData : EmfPlusBaseBrushData

The EmfPlusPathGradientBrushData type exposes the following members.

Constructors
  NameDescription
Public methodEmfPlusPathGradientBrushData
Initializes a new instance of the EmfPlusPathGradientBrushData class
Properties
  NameDescription
Public propertyBoundaryData
Gets or sets the boundary of the path gradient brush, which is specified by either a path or a closed cardinal spline. If the BrushDataPath flag is set in the BrushDataFlags field, this field MUST contain an EmfPlusBoundaryPathData object (section 2.2.2.6); otherwise, this field MUST contain an EmfPlusBoundaryPointData object (section 2.2.2.7).
Public propertyBrushDataFlags
Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field. This value MUST be composed of BrushData flags (section 2.1.2.1). The following flags are relevant to a path gradient brush:
Public propertyCenterArgb32Color
Gets or sets EmfPlusARGB object (section 2.2.2.1) that specifies the center color of the path gradient brush, which is the color that appears at the center point of the brush. The color of the brush changes gradually from the boundary color to the center color as it moves from the boundary to the center point.
Public propertyCenterPointF
Gets or sets EmfPlusARGB object (section 2.2.2.1) that specifies the center color of the path gradient brush, which is the color that appears at the center point of the brush. The color of the brush changes gradually from the boundary color to the center color as it moves from the boundary to the center point.
Public propertyOptionalData
Gets or sets an optional EmfPlusPathGradientBrushOptionalData object (section 2.2.2.30) that specifies additional data for the path gradient brush. The specific contents of this field are determined by the value of the BrushDataFlags field.
Public propertySurroundingArgb32Colors
Gets or sets array of SurroundingColorCount EmfPlusARGB objects that specify the colors for discrete points on the boundary of the brush.
Public propertyWrapMode
Gets or sets 32-bit signed integer from the WrapMode enumeration (section 2.1.1.34) that specifies whether to paint the area outside the boundary of the brush. When painting outside the boundary, the wrap mode specifies how the color gradient is repeated
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also