Class D2D1LinearGradientBrush
Paints an area with a linear gradient.
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public sealed class D2D1LinearGradientBrush : D2D1Brush, IDisposable, ID2D1Releasable
Properties
| Edit this page View SourceEndPoint
Gets or sets the ending coordinates of the linear gradient in the brush's coordinate space.
Declaration
public D2D1Point2F EndPoint { get; set; }
Property Value
Type | Description |
---|---|
D2D1Point2F |
Handle
Gets an handle representing the D2D1 object interface.
Declaration
public override object Handle { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
| Edit this page View SourceStartPoint
Gets or sets the starting coordinates of the linear gradient in the brush's coordinate space.
Declaration
public D2D1Point2F StartPoint { get; set; }
Property Value
Type | Description |
---|---|
D2D1Point2F |
Methods
| Edit this page View SourceGetGradientStopCollection()
Retrieves the D2D1GradientStopCollection associated with this linear gradient brush.
Declaration
public D2D1GradientStopCollection GetGradientStopCollection()
Returns
Type | Description |
---|---|
D2D1GradientStopCollection | The D2D1GradientStopCollection object associated with this linear gradient brush object. |