Svg.SVGTextNode Class Reference

Detailed Description

An SVG element which represents renderable text.

Inheritance diagram for Svg.SVGTextNode:
PowerUI.RenderableTextNode Dom.TextNode Css.IRenderableNode Dom.CharacterData Dom.Node Dom.EventTarget Dom.IParentNode Dom.IEventTarget

Additional Inherited Members

- Public Member Functions inherited from PowerUI.RenderableTextNode
 RenderableTextNode ()
 
LayoutBox BestBox (float y)
 Finds the best box for the given y coordinate. More...
 
int LetterIndex (float x, float y)
 Finds the index of the nearest character to x pixels. More...
 
int LetterIndex (float x, LayoutBox box)
 Finds the index of the nearest character to x pixels. More...
 
Element querySelector (string selector)
 Gets the first element which matches the given selector. More...
 
HTMLCollection querySelectorAll (string selector)
 Gets all child elements with the given tag. More...
 
HTMLCollection querySelectorAll (string selector, bool one)
 Gets all child elements with the given tag. More...
 
void querySelectorAll (Selector[] selectors, INodeList results, CssEvent e, bool one)
 Gets all child elements with the given tag. More...
 
void WentOffScreen ()
 Called when an element is no longer on the screen. More...
 
void OnRender (Renderman renderer)
 Called during a global render event on all elements. This knows exactly where the element is on screen. More...
 
void OnComputeBox (Renderman renderer, Css.LayoutBox box, ref bool widthUndefined, ref bool heightUndefined)
 
Vector2 GetPosition (int index)
 Gets the relative position (relative to parent) in pixels of the letter at the given index. More...
 
void FontLoaded (DynamicFont font)
 Called when a -face font is done loading. More...
 
void GetWidthBounds (out float min, out float max)
 Part of shrink-to-fit. Computes the maximum and minimum possible width for an element. More...
 
- 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 PowerUI.RenderableTextNode
int SpaceCount
 The total number of spaces. More...
 
float LongestWord
 The advance width (for a 1px font) of the longest word. More...
 
float TotalAdvanceWidth =float.MinValue
 The total advance width (for a 1px font). Doesn't include word spacing. More...
 
- Protected Member Functions inherited from Dom.EventTarget
GetFirstDelegate< T > (string name)
 Gets the first delegate event handler for the given event name. More...
 
virtual bool HandleLocalEvent (Event e, bool bubblePhase)
 Handles triggering event handlers here. Elements can (and in PowerUI's case, do) override this. PowerUI overrides it to handle e.g. onclick="" attributes too. More...
 
- Package Functions inherited from PowerUI.RenderableTextNode
override void RemovedFromDOM ()
 Called when this element got removed from the DOM. More...
 
- Package Attributes inherited from PowerUI.RenderableTextNode
TextRenderableData RenderData_
 Information such as this nodes computed box model. This one is where 'anonymous' boxes are stored. More...
 
- Static Package Attributes inherited from Dom.EventTarget
static DispatchStack PooledStack
 The current head of the pooled dispatched stacks. More...
 
- Properties inherited from PowerUI.RenderableTextNode
override string data [get, set]
 Enables the various TextNode API's. More...
 
RenderableData RenderData [get]
 This nodes render data. More...
 
ComputedStyle ComputedStyle [get]
 This nodes computed style. More...