Back to top OpenSVG (c) Veridict AB, www.veridict.com
Edit this page

Class SvgCircle

Represents an SVG circle element.

Inheritance
object
SvgElement
SvgVisual
SvgCircle
Implements
IXmlSerializable
IEquatable<SvgElement>
Inherited Members
SvgVisual.fillColor
SvgVisual.strokeColor
SvgVisual.strokeWidth
SvgVisual.transform
SvgVisual.FillColor
SvgVisual.StrokeColor
SvgVisual.StrokeWidth
SvgVisual.Transform
SvgVisual.DrawConfig
SvgVisual.ConvexHull
SvgVisual.BoundingBox
SvgVisual.AlignRelativeTo(SvgVisual, HorizontalAlignment?, VerticalAlignment?)
SvgElement.id
SvgElement.ID
SvgElement.RootDocument
SvgElement.Root
SvgElement.Parent
SvgElement.ViewPort
SvgElement.ViewPortWidth
SvgElement.ViewPortHeight
SvgElement.GetSchema()
SvgElement.WriteXml(XmlWriter)
SvgElement.ReadXml(XmlReader)
SvgElement.ToSvgGroup()
SvgElement.ToSvgDocument()
SvgElement.Attributes()
SvgElement.Equals(object)
SvgElement.Equals(SvgElement)
SvgElement.InformedEquals(SvgElement)
SvgElement.GetHashCode()
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenSvg.SvgNodes
Assembly: OpenSvg.dll
Syntax
public class SvgCircle : SvgVisual, IXmlSerializable, IEquatable<SvgElement>

Fields

| Edit this page View Source

radius

Declaration
protected readonly FloatAttr radius
Field Value
Type Description
FloatAttr
| Edit this page View Source

x

Declaration
protected readonly FloatAttr x
Field Value
Type Description
FloatAttr
| Edit this page View Source

y

Declaration
protected readonly FloatAttr y
Field Value
Type Description
FloatAttr

Properties

| Edit this page View Source

Center

Gets or sets the center point of the circle.

Declaration
public Vector2 Center { get; set; }
Property Value
Type Description
Vector2
| Edit this page View Source

Radius

Gets or sets the radius of the circle.

Declaration
public float Radius { get; set; }
Property Value
Type Description
float
| Edit this page View Source

SvgName

Gets or sets the name of the SVG element.

Declaration
public override string SvgName { get; }
Property Value
Type Description
string
Overrides
SvgElement.SvgName
| Edit this page View Source

X

Gets or sets the x-coordinate of the circle center.

Declaration
public float X { get; set; }
Property Value
Type Description
float
| Edit this page View Source

Y

Gets or sets the y-coordinate of the circle center.

Declaration
public float Y { get; set; }
Property Value
Type Description
float

Methods

| Edit this page View Source

ComputeConvexHull()

Computes the convex hull of the line.

Declaration
protected override ConvexHull ComputeConvexHull()
Returns
Type Description
ConvexHull

The convex hull of the line.

Overrides
SvgVisual.ComputeConvexHull()

Implements

IXmlSerializable
IEquatable<T>