getRotationOfChar

< svg‎ | methods
Jump to: navigation, search


Notes

Remarks

If multiple glyphs are used to render the specified character and if the glyphs each have different rotations (for example, because of text-on-a-path), the getRotationOfChar method returns an average value (that is, the rotation angle at the midpoint along the path for all glyphs that are used to render the specified character).

The rotation value represents the rotation that is supplemental to any rotation because of the glyphOrientationHorizontal and glyphOrientationVertical properties. Any glyph rotations because of these properties are not included in the returned rotation value.

If multiple consecutive characters are rendered inseparably (for example, as a single glyph or a sequence of glyphs), each of the inseparable characters returns the same rotation value.

Syntax

Standards information

See also

Related pages (MSDN)

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]