Provides shapes to the CSS system. Primarily used by SVG.
Public Member Functions | |
| void | ClearCache () |
| Clears the cached path. More... | |
| void | SetPath (VectorPath path) |
| Sets the cached path. More... | |
| virtual VectorPath | GetPath (SVGElement context, RenderContext ctx) |
| Gets or rebuilds the cached path. More... | |
| virtual ScreenRegion | GetRegion (SVGElement context, RenderContext ctx) |
| Gets the defined shape as a region. Allows optimisations for rectangles. More... | |
Protected Attributes | |
| VectorPath | _Path |
| The cached path. More... | |
Properties | |
| VectorPath | Path [get] |
| The cached path. More... | |
|
inline |
Clears the cached path.
|
inlinevirtual |
Gets or rebuilds the cached path.
Reimplemented in Svg.RectangleProvider, Svg.LineProvider, Svg.EllipseProvider, Svg.CircleProvider, and Svg.PolygonProvider.
|
inlinevirtual |
Gets the defined shape as a region. Allows optimisations for rectangles.
|
inline |
Sets the cached path.
|
protected |
The cached path.
|
get |
The cached path.