Detailed Description

A text reference tag.

Inheritance diagram for Svg.SVGTRefElement:
Svg.SVGTextPositioningElement Svg.SVGTextContentElement Svg.SVGGraphicsElement Svg.SVGElement Dom.Element Css.IRenderableNode Dom.Node Dom.EventTarget Dom.IParentNode Dom.IEventTarget

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...
 

Properties

SVGElement Target [get]
 The element targeted with the href. More...
 
string ReferencedElement [get, set]
 The URL of the ref'd element. More...
 

Private Attributes

SVGElement _targetElement
 The element targeted with the href. 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...
 
- Protected Attributes inherited from Svg.SVGTextContentElement
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
 
- 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...
 

Member Function Documentation

override bool Svg.SVGTRefElement.OnAttributeChange ( string  attribute)
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.

Parameters
attributeThe attribute that changed.

Reimplemented from Svg.SVGTextContentElement.

Member Data Documentation

SVGElement Svg.SVGTRefElement._targetElement
private

The element targeted with the href.

Property Documentation

string Svg.SVGTRefElement.ReferencedElement
getset

The URL of the ref'd element.

SVGElement Svg.SVGTRefElement.Target
get

The element targeted with the href.