Svg.SVGPolygonElement Class Reference

Detailed Description

An SVG polygon tag.

Inheritance diagram for Svg.SVGPolygonElement:
Svg.SVGGeometryElement Svg.SVGAnimatedPoints Svg.SVGGraphicsElement Svg.SVGElement Dom.Element Css.IRenderableNode Dom.Node Dom.EventTarget Dom.IParentNode Dom.IEventTarget

Public Member Functions

 SVGPolygonElement ()
 
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...
 
- Public Member Functions inherited from Svg.SVGGeometryElement
void RebuildPath ()
 
override VectorPath GetPath (SVGElement context, RenderContext renderer)
 Gets the path this tag represents. Note that it can potentially be a clipping path. More...
 

Package Functions

override bool BuildStroke (VectorPath path, RenderContext renderer)
 Renders the stroke of the SvgVisualElement to the specified ISvgRenderer More...
 

Properties

SVGPointList points [get]
 A list of points. More...
 
SVGPointList animatedPoints [get]
 A list of animated points. More...
 
PolygonProvider Polygon [get]
 The hosting shape as a polygon. More...
 
Css.Value PointsValue [get, set]
 
- Properties inherited from Svg.SVGGeometryElement
override BoxRegion Bounds [get]
 Gets the bounds of the element. More...
 
- Properties inherited from Svg.SVGAnimatedPoints
SVGPointList points [get]
 A list of points. More...
 
SVGPointList animatedPoints [get]
 A list of animated points. 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.SVGGeometryElement
ShapeProvider Shape
 The loaded path. 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 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...
 

Constructor & Destructor Documentation

Svg.SVGPolygonElement.SVGPolygonElement ( )
inline

Member Function Documentation

override bool Svg.SVGPolygonElement.BuildStroke ( VectorPath  path,
RenderContext  renderer 
)
inlinepackagevirtual

Renders the stroke of the SvgVisualElement to the specified ISvgRenderer

Parameters
rendererThe ISvgRenderer object to render to.

Reimplemented from Svg.SVGElement.

override bool Svg.SVGPolygonElement.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.SVGElement.

Property Documentation

SVGPointList Svg.SVGPolygonElement.animatedPoints
get

A list of animated points.

SVGPointList Svg.SVGPolygonElement.points
get

A list of points.

Css.Value Svg.SVGPolygonElement.PointsValue
getset
PolygonProvider Svg.SVGPolygonElement.Polygon
getprotected

The hosting shape as a polygon.