Detailed Description

An SVG polygon.

Inheritance diagram for Svg.PolygonProvider:
Svg.ShapeProvider

Public Member Functions

override VectorPath GetPath (SVGElement context, RenderContext renderer)
 Gets the path representing this element. More...
 
- Public Member Functions inherited from Svg.ShapeProvider
void ClearCache ()
 Clears the cached path. More...
 
void SetPath (VectorPath path)
 Sets the cached path. More...
 
virtual ScreenRegion GetRegion (SVGElement context, RenderContext ctx)
 Gets the defined shape as a region. Allows optimisations for rectangles. More...
 

Public Attributes

bool Close =true
 True if the shape should be closed. More...
 

Properties

Css.Value Points [get, set]
 
- Properties inherited from Svg.ShapeProvider
VectorPath Path [get]
 The cached path. More...
 

Private Attributes

Css.Value _points =Css.Value.Empty
 

Additional Inherited Members

- Protected Attributes inherited from Svg.ShapeProvider
VectorPath _Path
 The cached path. More...
 

Member Function Documentation

override VectorPath Svg.PolygonProvider.GetPath ( SVGElement  context,
RenderContext  renderer 
)
inlinevirtual

Gets the path representing this element.

Reimplemented from Svg.ShapeProvider.

Member Data Documentation

Css.Value Svg.PolygonProvider._points =Css.Value.Empty
private
bool Svg.PolygonProvider.Close =true

True if the shape should be closed.

Property Documentation

Css.Value Svg.PolygonProvider.Points
getset