Svg.RectangleProvider Class Reference

Detailed Description

An SVG rectangle.

Inheritance diagram for Svg.RectangleProvider:
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...
 

Properties

Css.Value CornerRadiusX [get, set]
 
Css.Value CornerRadiusY [get, set]
 
Css.Value X [get, set]
 
Css.Value Y [get, set]
 
Css.Value Width [get, set]
 
Css.Value Height [get, set]
 
- Properties inherited from Svg.ShapeProvider
VectorPath Path [get]
 The cached path. More...
 

Private Attributes

Css.Value _cornerRadiusX =Css.Value.Empty
 
Css.Value _cornerRadiusY =Css.Value.Empty
 
Css.Value _x =Css.Value.Empty
 
Css.Value _y =Css.Value.Empty
 
Css.Value _width =Css.Value.Empty
 
Css.Value _height =Css.Value.Empty
 

Additional Inherited Members

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

Member Function Documentation

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

Gets the path representing this element.

Reimplemented from Svg.ShapeProvider.

Member Data Documentation

Css.Value Svg.RectangleProvider._cornerRadiusX =Css.Value.Empty
private
Css.Value Svg.RectangleProvider._cornerRadiusY =Css.Value.Empty
private
Css.Value Svg.RectangleProvider._height =Css.Value.Empty
private
Css.Value Svg.RectangleProvider._width =Css.Value.Empty
private
Css.Value Svg.RectangleProvider._x =Css.Value.Empty
private
Css.Value Svg.RectangleProvider._y =Css.Value.Empty
private

Property Documentation

Css.Value Svg.RectangleProvider.CornerRadiusX
getset
Css.Value Svg.RectangleProvider.CornerRadiusY
getset
Css.Value Svg.RectangleProvider.Height
getset
Css.Value Svg.RectangleProvider.Width
getset
Css.Value Svg.RectangleProvider.X
getset
Css.Value Svg.RectangleProvider.Y
getset