public abstract class Arc : IShape
Represents a single arc element in a vector image.

Constructors

Arc

#
protected Arc(ArcF value)
value (ArcF)

Arc

#
protected Arc(IReader reader)
reader (IReader)

Properties

SvgPathCode

#
public virtual string SvgPathCode { get; }
SvgPathCode

Value

#
public ArcF 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 Arc Make(ArcF arc, string state = null)
Create an arc whose sweep angle is slaved to a unit state.
arc (ArcF)Arc shape.
state (string = null)Name of state.

Make

#
public static Arc Make(Cir circle, Nem start, Nem sweep)
Create an arc based on a circle.
circle (Cir)Circle.
start (Nem)Start angle.
sweep (Nem)Sweep angle.

Make

#
public static Arc Make(Dot start, Dot end, Dot tangent)
Create an arc from start, end and tangent constraints.
start (Dot)Start of arc.
end (Dot)End of arc.
tangent (Dot)Point along tangent at start.

Make3Pt

#
public static Arc Make3Pt(Dot start, Dot middle, Dot end)
Create an arc from start, end and tangent constraints.
start (Dot)Start of arc.
middle (Dot)Point along arc interior.
end (Dot)End of arc.

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
implicitArcFArcCreate a new constant arc.