RadiusY Property (RadialGradientBrush)
Gets or sets the vertical radius of the outermost circle of a radial gradient.
XAML |
<object RadiusY="Double" .../>
|
Scripting |
value = object.RadiusY object.RadiusY = value |
Property Value
The vertical radius of the outermost circle of a radial gradient.
This property is read/write. The default value is 0.5.
Remarks
The MappingMode property of a RadialGradientBrush determines whether its properties are interpreted as a relative or absolute value. By default, RadiusY is treated as relative, which corresponds to a MappingMode of RelativeToBoundingBox. In this case, the default value of 0.5, combined with the default Center value of 0.5,0.5, makes the circle be as high as the area where the brush is applied, centered exactly on the middle of that area. A MappingMode of Absolute specifies that the RadiusY value is expressed in device independent pixels, not as a factor within the bounding box of the area where the brush is applied.