CompositionRadialGradientBrush.EllipseRadius CompositionRadialGradientBrush.EllipseRadius CompositionRadialGradientBrush.EllipseRadius CompositionRadialGradientBrush.EllipseRadius Property

Definition

Gets or sets the radii of the ellipse that contains the gradient.

public : Vector2 EllipseRadius { get; set; }
Vector2 EllipseRadius();

void EllipseRadius(Vector2 ellipseradius);
public Vector2 EllipseRadius { get; set; }
Public ReadWrite Property EllipseRadius As Vector2

Property Value

Vector2 Vector2

The radii of the ellipse that contains the gradient. The default is a Vector2 with values (0.5, 0.5).

Remarks

This property describes the radii of the ellipse that the radial gradient is drawn in. Each radius is a value from 0.0 to 1.0, which represents a percentage of the size of the object being painted.

The first value of the Vector2 describes the x-axis radius and the second value describes the y-axis radius.