Struct RadialGradientBrushProperties
Contains the gradient origin offset and the size and position of the gradient ellipse for an RadialGradientBrush.
public struct RadialGradientBrushProperties
- Inherited Members
Remarks
Different values for center, gradientOriginOffset, radiusX and/or radiusY produce different gradients. The following illustration shows several radial gradients that have different gradient origin offsets, creating the appearance of the light illuminating the circles from different angles.
For convenience, Direct2D provides the D2D1::RadialGradientBrushProperties function for creating new D2D1_RADIAL_GRADIENT_BRUSH structures.
Fields
Center
No documentation.
public RawVector2 Center
Field Value
- RawVector2
GradientOriginOffset
No documentation.
public RawVector2 GradientOriginOffset
Field Value
- RawVector2
RadiusX
No documentation.
public float RadiusX
Field Value
RadiusY
No documentation.
public float RadiusY