RadiusY (RadialGradientBrush)

Silverlight

Gets or sets the vertical radius of the outermost circle of a radial gradient.

<object RadiusY="Double"  .../>
value = object.RadiusY
object.RadiusY = value

Type: Double

The vertical radius of the outermost circle of a radial gradient.

This property is read/write. The default value is 0.5.

The MappingMode property of a RadialGradientBrush determines whether the properties of the brush are interpreted as relative or absolute values. By default, RadiusY is treated as relative, which corresponds to a MappingMode of RelativeToBoundingBox. In this case, the default RadiusY value of 0.5 combined with the default Center value of 0.5,0.5 results in a circle 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, instead of being relative to the bounding box of the area where the brush is applied.

Community Additions

ADD
Show: