public abstract class Cir : IShape
Represents a circle used in a vector icon.

Constructors

Cir

#
protected Cir(CircleF circle)
circle (CircleF)

Cir

#
protected Cir(IReader reader)
reader (IReader)

Properties

SvgPathCode

#
public virtual string SvgPathCode { get; }
SvgPathCode

Value

#
public CircleF Value { get; protected set; }

Methods

Draw

#
public void Draw(IconContext context, VectorStyle style)
context (IconContext)
style (VectorStyle)
Draw

Glue

#
public void Glue(IconContext context, GraphicsPath path)
context (IconContext)
path (GraphicsPath)
Glue

Make

#
public static Cir Make(CircleF circle, string state = null)
Create a circle whose radius is slaved to a state.
circle (CircleF)Base circle.
state (string = null)Optional state.

Make

#
public static Cir Make(Dot centre, Dot point)
Create a new variable circle from centre and coincidence.
centre (Dot)Centre of circle.
point (Dot)Point on circle.
Circle.

Make

#
public static Cir Make(Dot centre, Nem radius)
Create a new variable circle defined by centre and radius.
centre (Dot)Centre.
radius (Nem)Radius.
Point.

Make2Pt

#
public static Cir Make2Pt(Dot point0, Dot point1)
Create a new variable circle through two points.
point0 (Dot)First point.
point1 (Dot)Second point.
Circle.

Make3Pt

#
public static Cir Make3Pt(Dot point0, Dot point1, Dot point2)
Create a new variable circle through three points.
point0 (Dot)First point.
point1 (Dot)Second point.
point2 (Dot)Third point.
Circle.

Store

#
public virtual void Store(IWriter writer)
writer (IWriter)
Store

Update

#
public abstract void Update(string name, double value)
name (string)
value (double)
Update

Convertors

OperationResultDescription
implicitCircleFCirCreate a new constant circle.