Detailed Description

A circle.

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

const float BezierC =0.55191f
 The C value for a cubic bezier curve in order to closely approx a circle. More...
 

Properties

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

Private Attributes

Css.Value _radius =Css.Value.Empty
 
Css.Value _centerX =Css.Value.Empty
 
Css.Value _centerY =Css.Value.Empty
 

Additional Inherited Members

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

Member Function Documentation

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

Gets the path representing this element.

Reimplemented from Svg.ShapeProvider.

Member Data Documentation

Css.Value Svg.CircleProvider._centerX =Css.Value.Empty
private
Css.Value Svg.CircleProvider._centerY =Css.Value.Empty
private
Css.Value Svg.CircleProvider._radius =Css.Value.Empty
private
const float Svg.CircleProvider.BezierC =0.55191f

The C value for a cubic bezier curve in order to closely approx a circle.

Property Documentation

Css.Value Svg.CircleProvider.CenterX
getset
Css.Value Svg.CircleProvider.CenterY
getset
Css.Value Svg.CircleProvider.Radius
getset