Export (0) Print
Expand All

ry property

Gets or sets the y-axis radius of a rounded corner rectangle.

Scalable Vector Graphics: Basic Shapes, Section 9.8.1Internet Explorer 9

 

Syntax

HRESULT value = object.put_ry(ISVGAnimatedLength* v);HRESULT value = object.get_ry(ISVGAnimatedLength** p);

Property values

Type: Object

The y-axis radius of the ellipse that is used to round the corners of a rectangle. A negative value is an error.

Standards information

Remarks

If you properly specify a value for the ISVGRectElement::rx property but not for the ISVGRectElement::ry property, the rect element is rendered with the effective value of ISVGRectElement::ry equal to ISVGRectElement::rx. If you properly specify a value for ISVGRectElement::ry but not for ISVGRectElement::rx, the rect element is rendered with the effective value of ISVGRectElement::rx equal to ISVGRectElement::ry.

If you do not properly specify ISVGRectElement::rx or ISVGRectElement::ry , the rect element is rendered without rounding, resulting in square corners.

If ISVGRectElement::rx is greater than half of the width of the rectangle, the rect element is rendered with the effective value for ISVGRectElement::rx as half of the width of the rectangle. If ISVGRectElement::ry is greater than half of the height of the rectangle, the rect element is rendered with the effective value for ISVGRectElement::ry as half of the height of the rectangle.

See also

ellipse

 

 

Community Additions

ADD
Show:
© 2014 Microsoft