Freigeben über


RadiusY (RectangleGeometry)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the y-radius of the ellipse that is used to round the corners of the rectangle geometry.

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

Property Value

Type: Double

The y-radius of the ellipse that is used to round the corners of the rectangle geometry.

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

Managed Equivalent

RadiusY

Remarks

For the rectangle geometry to have rounded corners, both the RadiusX and RadiusY properties must be non-zero.s

A value that is greater than or equal to zero, and less than or equal to half the rectangle's width that describes the y-radius of the ellipse is used to round the corners of the rectangle. Values greater than half the rectangle's width are treated as equal to half the rectangle's width. Negative values are treated as positive values.

See Also

Reference