Class SvgCircle
- Namespace
- Svg
- Assembly
- Svg.dll
An SVG element to render circles to the document.
[SvgElement("circle")]
public class SvgCircle : SvgPathBasedElement, ISvgTransformable, ICloneable, ISvgNode, ISvgStylable, ISvgBoundable, ISvgClipable
- Inheritance
-
SvgCircle
- Implements
- Inherited Members
- Extension Methods
Properties
Center
Gets the center point of the circle.
public SvgPoint Center { get; }
Property Value
- SvgPoint
The center.
CenterX
public virtual SvgUnit CenterX { get; set; }
Property Value
CenterY
public virtual SvgUnit CenterY { get; set; }
Property Value
Radius
public virtual SvgUnit Radius { get; set; }
Property Value
Methods
DeepCopy()
public override SvgElement DeepCopy()
Returns
DeepCopy<T>()
public override SvgElement DeepCopy<T>() where T : SvgElement, new()
Returns
Type Parameters
T
Path(ISvgRenderer)
Gets the GraphicsPath representing this element.
public override GraphicsPath Path(ISvgRenderer renderer)
Parameters
renderer
ISvgRenderer
Returns
Render(ISvgRenderer)
Renders the circle using the specified ISvgRenderer object.
protected override void Render(ISvgRenderer renderer)
Parameters
renderer
ISvgRendererThe renderer object.