Class D2D1RadialGradientBrush
Paints an area with a radial gradient.
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public sealed class D2D1RadialGradientBrush : D2D1Brush, IDisposable, ID2D1Releasable
Properties
| Edit this page View SourceCenter
Gets or sets the center of the gradient ellipse in the brush's coordinate space.
Declaration
public D2D1Point2F Center { get; set; }
Property Value
Type | Description |
---|---|
D2D1Point2F |
GradientOriginOffset
Gets or sets the offset of the gradient origin relative to the gradient ellipse's center.
Declaration
public D2D1Point2F GradientOriginOffset { 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 SourceRadiusX
Gets or sets the x-radius of the gradient ellipse, in the brush's coordinate space.
Declaration
public float RadiusX { get; set; }
Property Value
Type | Description |
---|---|
float |
RadiusY
Gets or sets the y-radius of the gradient ellipse, in the brush's coordinate space.
Declaration
public float RadiusY { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
| Edit this page View SourceGetGradientStopCollection()
Retrieves the D2D1GradientStopCollection associated with this radial gradient brush object.
Declaration
public D2D1GradientStopCollection GetGradientStopCollection()
Returns
Type | Description |
---|---|
D2D1GradientStopCollection | The D2D1GradientStopCollection object associated with this linear gradient brush object. |