public abstract class Egg : IShape
Represents a single ellipse element in a vector image.

Constructors

Egg

#
protected Egg(EllipseF value)
value (EllipseF)

Egg

#
protected Egg(IReader reader)
reader (IReader)

Properties

SvgPathCode

#
public virtual string SvgPathCode { get; }
SvgPathCode

Value

#
public EllipseF 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 Egg Make(Dot centre, Nem radiusX, Nem radiusY, Nem angle)
Create a new variable ellipse defined by centre, radii and angle.
centre (Dot)Centre.
radiusX (Nem)Radius for X axis.
radiusY (Nem)Radius for Y axis.
angle (Nem)Rotation angle.

Make

#
public static Egg Make(EllipseF ellipse, string state = null)
Create an ellipse slaved to a unit state.
ellipse (EllipseF)Ellipse.
state (string = null)Name of state.

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
implicitEllipseFEggCreate a new constant ellipse.