Svg.SVGGraphicsElement Class Reference

Detailed Description

An element which generates SVG graphics.

Inheritance diagram for Svg.SVGGraphicsElement:
Svg.SVGElement Dom.Element Css.IRenderableNode Dom.Node Dom.EventTarget Dom.IParentNode Dom.IEventTarget Svg.SVGGeometryElement Svg.SVGTextContentElement Svg.SVGCircleElement Svg.SVGEllipseElement Svg.SVGLineElement Svg.SVGPathElement Svg.SVGPolygonElement Svg.SVGPolylineElement Svg.SVGRectangleElement Svg.SVGTextElement Svg.SVGTextPathElement Svg.SVGTextPositioningElement

Additional Inherited Members

- Public Member Functions inherited from Svg.SVGElement
 SVGElement ()
 
void WentOffScreen ()
 Called when this element goes offscreen. 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 GetWidthBounds (out float min, out float max)
 Part of shrink-to-fit. Computes the maximum and minimum possible width for an element. 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...
 
virtual void OnComputeBox (Renderman renderer, Css.LayoutBox box, ref bool widthUndefined, ref bool heightUndefined)
 Called during the box compute process. Useful if your element has clever dimensions, such as the img tag or words. More...
 
void FontLoaded (DynamicFont font)
 Called when a font-face is ready. More...
 
float GetFloatAttribute (string property, float dflt)
 Gets the value of the given property as a float. More...
 
SVGElement TryResolveHref ()
 Finds the element by ID stored in this elements href attribute. More...
 
virtual void BuildFilter (RenderContext ctx)
 
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...
 
float GetDecimal (Css.CssProperty property)
 Resolves a float value. More...
 
int GetInt (Css.CssProperty property)
 Resolves an integer from the computed style. More...
 
virtual VectorPath GetPath (SVGElement context, RenderContext renderer)
 Gets the path this tag represents. Note that it can potentially be a clipping path. 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 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...
 
- Properties inherited from Svg.SVGElement
static Loonim.TextureNode TransparentFill [get]
 Objects fill transparent by default. This is the fill handler. Initiated when first required. More...
 
ComputedStyle ComputedStyle [get]
 This nodes computed style. More...
 
RenderableData RenderData [get]
 This nodes render data. More...
 
override ElementStyle style [get]
 This elements style. More...
 
Css.ComputedStyle computedStyle [get]
 Gets the computed style of this element. More...
 
SVGFontElement ParentFont [get]
 The parent font element, if there is one. More...
 
BoxRegion GroupBounds [get]
 The combined bounds of the child nodes. More...
 
virtual BoxRegion Bounds [get]
 The bounds of this element. More...
 
virtual Loonim.TextureNode Fill [get, set]
 Gets or sets the fill. More...
 
virtual Loonim.TextureNode Stroke [get, set]
 
int Visibility [get]
 The VisibilityMode of this element. More...
 
SVGElement ownerSVGElement [get]
 The parent svg element. More...
 
virtual Css.Value ClipPath [get, set]
 Gets the associated SvgClipPath if one has been specified. More...
 
string ClipRule [get, set]
 Gets or sets the algorithm which is to be used to determine the clipping region. More...
 
virtual Css.Value Filter [get, set]
 Gets the associated SvgClipPath if one has been specified. More...
 
virtual float Opacity [get]
 Element opacity. More...
 
float FillOpacity [get]
 Fill opacity. More...
 
float StrokeOpacity [get]
 Stroke opacity. More...
 
float StrokeWidth [get]
 Stroke width. More...
 
int StrokeLineCap [get]
 Stroke line cap. More...
 
int StrokeLineJoin [get]
 Stroke line join. More...
 
Css.Value StrokeDashOffset [get]
 Stroke dash offset. More...
 
Css.Value StrokeDashArray [get]
 Stroke dash array. More...
 
float StrokeMiterLimit [get]
 Stroke-miterlimit. More...
 
string FillRule [get]
 Fill rule (e.g. nonzero). More...