Dart API Referencedart:htmlSVGTextPathElement

SVGTextPathElement Interface

In addition to text drawn in a straight line, SVG also includes the ability to place text along the shape of a <path> element. To specify that a block of text is to be rendered along the shape of a <path> , include the given text within a textPath element which includes an xlink:href attribute with a reference to a <path> element.

Extends

SVGURIReference, SVGTextContentElement

Static Fields

Code final int TEXTPATH_METHODTYPE_ALIGN #

static final int TEXTPATH_METHODTYPE_ALIGN = 1;

Code final int TEXTPATH_METHODTYPE_STRETCH #

static final int TEXTPATH_METHODTYPE_STRETCH = 2;

Code final int TEXTPATH_METHODTYPE_UNKNOWN #

static final int TEXTPATH_METHODTYPE_UNKNOWN = 0;

Code final int TEXTPATH_SPACINGTYPE_AUTO #

static final int TEXTPATH_SPACINGTYPE_AUTO = 1;

Code final int TEXTPATH_SPACINGTYPE_EXACT #

static final int TEXTPATH_SPACINGTYPE_EXACT = 2;

Code final int TEXTPATH_SPACINGTYPE_UNKNOWN #

static final int TEXTPATH_SPACINGTYPE_UNKNOWN = 0;

Fields

Code final SVGAnimatedEnumeration method #

final SVGAnimatedEnumeration method;

Code final SVGAnimatedEnumeration spacing #

final SVGAnimatedEnumeration spacing;

Code final SVGAnimatedLength startOffset #

final SVGAnimatedLength startOffset;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.