The base of SVG text tags.
Public Member Functions | |
override bool | OnAttributeChange (string property) |
Called on an instance of this handler when an attribute on the element it's attached to changes. It's also called when the tag is being loaded. More... | |
override string | ToString () |
Protected Attributes | |
Css.ValueSet | _x = new Css.ValueSet() |
Css.ValueSet | _y = new Css.ValueSet() |
Css.ValueSet | _dx = new Css.ValueSet() |
Css.ValueSet | _dy = new Css.ValueSet() |
Css.Value | _textLength = Css.Value.Empty |
Css.Value | _lengthAdjust = Css.Value.Empty |
Properties | |
static TextureNode | BlackFill [get] |
Text fills black by default. This is the fill handler. Initiated when first required. More... | |
virtual Css.ValueSet | X [get, set] |
Gets or sets the x. More... | |
virtual Css.ValueSet | Y [get, set] |
Gets or sets the y. More... | |
virtual Css.Value | TextLength [get, set] |
Gets or sets the dX. More... | |
virtual Css.Value | LengthAdjust [get, set] |
Gets or sets the dX. More... | |
virtual Css.Value | LetterSpacing [get, set] |
Specifies spacing behavior between words. More... | |
virtual Css.Value | WordSpacing [get, set] |
Specifies spacing behavior between words. More... | |
override TextureNode | Fill [get] |
Gets or sets the fill. More... | |
virtual Css.ValueSet | Dx [get, set] |
Gets or sets the dX. More... | |
virtual Css.ValueSet | Dy [get, set] |
Gets or sets the dY. More... | |
virtual string | Text [get, set] |
The text to be rendered. More... | |
virtual string | Rotate [get, set] |
override BoxRegion | Bounds [get] |
Gets the bounds of the element. More... | |
Private Attributes | |
float[] | _rotations |
Static Private Attributes | |
static TextureNode | _blackFill =null |
Text fills black by default. This is the fill handler. Initiated when first required. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Dom.Node | |
static bool | PropertiesEqual (Dictionary< string, string > a, Dictionary< string, string > b) |
True if two args sets are equal. More... | |
Public Attributes inherited from Svg.SVGElement | |
ElementStyle | Style |
This elements style. More... | |
Protected Member Functions inherited from Svg.SVGElement | |
void | BuildChildren (RenderContext renderer) |
Renders the child nodes of this tag. More... | |
virtual void | PopTransforms (RenderContext renderer) |
virtual bool | PushTransforms (RenderContext renderer) |
bool | BuildStrokeMarkers (VectorPath path, RenderContext renderer) |
Renders a stroke with markers. More... | |
virtual void | SetClip (RenderContext renderer) |
Sets the clipping region of the specified RenderContext. More... | |
VectorPath | GetPaths (Node parent, RenderContext renderer) |
Adds all child paths together. More... | |
void | AddChildPaths (Node parent, VectorPath bakeInto, RenderContext renderer, Matrix4x4 extraTransform, bool applyExtra) |
Adds all child paths together. More... | |
virtual void | ResetClip (RenderContext renderer) |
Resets the clipping region of the specified RenderContext back to where it was before the SetClip method was called. More... | |
Package Functions inherited from Svg.SVGElement | |
virtual void | BuildFill (VectorPath path, RenderContext renderer) |
Renders the fill of the SvgVisualElement to the specified RenderContext More... | |
virtual bool | BuildStroke (VectorPath path, RenderContext renderer) |
Renders the stroke of the SvgVisualElement to the specified RenderContext More... | |
Package Attributes inherited from Dom.Element | |
bool | SelfClosing |
True if this tag closes itself and doesn't need an end ("/div" for example) tag. More... | |
Static Package Attributes inherited from Dom.EventTarget | |
static DispatchStack | PooledStack |
The current head of the pooled dispatched stacks. More... | |
|
inlinevirtual |
Called on an instance of this handler when an attribute on the element it's attached to changes. It's also called when the tag is being loaded.
attribute | The attribute that changed. |
Reimplemented from Svg.SVGElement.
Reimplemented in Svg.SVGTRefElement, and Svg.SVGTextPathElement.
|
inline |
|
staticprivate |
Text fills black by default. This is the fill handler. Initiated when first required.
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
staticget |
Text fills black by default. This is the fill handler. Initiated when first required.
|
get |
Gets the bounds of the element.
The bounds.
|
getset |
Gets or sets the dX.
The dX.
|
getset |
Gets or sets the dY.
The dY.
|
get |
Gets or sets the fill.
Unlike other SvgGraphicsElements, SvgText has a default fill of black rather than transparent.
The fill.
|
getset |
Gets or sets the dX.
The dX.
|
getset |
Specifies spacing behavior between words.
|
getset |
|
getset |
The text to be rendered.
|
getset |
Gets or sets the dX.
The dX.
|
getset |
Specifies spacing behavior between words.
|
getset |
Gets or sets the x.
The x.
|
getset |
Gets or sets the y.
The y.