Export (0) Print
Expand All

rotate property

Gets or sets the supplemental character rotation about the current text position.

Scalable Vector Graphics (SVG) 1.1, Appendix MInternet Explorer 9

 

Syntax

HRESULT value = object.put_rotate(ISVGAnimatedNumberList* v);HRESULT value = object.get_rotate(ISVGAnimatedNumberList** p);

Property values

Type: Object

A list of character rotation values.

Standards information

Remarks

The ISVGTextPositioningElement::rotate property gets or sets the supplemental rotation about the current text position that is applied to all of the glyphs that correspond to each character within this element.

If you provide a comma-separated or space-separated list of numbers, the first number represents the supplemental rotation for the glyphs that correspond to the first character within this element or any of its descendants, the second number represents the supplemental rotation for the glyphs that correspond to the second character, and so on.

If you provide more numbers than there are characters, the extra numbers are ignored. If more characters are provided than numbers, for each of these extra characters, the rotation value that is specified by the last number is used for these remaining characters.

If you do not specify the ISVGTextPositioningElement::rotate attribute and if an ancestor text or tSpan element specifies a supplemental rotation for a given character through a ISVGTextPositioningElement::rotate attribute, the specified supplemental rotation is applied to the given character (the nearest ancestor has precedence). If there are more characters than numbers that are specified in the ancestor's ISVGTextPositioningElement::rotate attribute, for each of these extra characters, the rotation value that is specified by the last number is used.

This supplemental rotation does not impact how the current text position is modified as glyphs get rendered and is supplemental to any rotation because of text on a path and to glyph-orientation-horizontal or glyph-orientation-vertical.

Note  If you do not specify the ISVGTextPositioningElement::rotate attribute on an element or any of its descendants, no supplemental rotations occur.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft