public abstract class Dot : IStateDependent
Represents a coordinate used in a vector icon. A coordinate can depend on icon state variables.

Constructors

Dot

#
protected Dot(IReader reader)
reader (IReader)

Dot

#
protected Dot(PointF point)
point (PointF)

Properties

Value

#
public PointF Value { get; }

Methods

Make

#
public static Dot Make(Nem x, Nem y)
Create a new variable point.
x (Nem)X coordinate.
y (Nem)Y coordinate.
Point.

Make

#
public static Dot Make(PointF point)
Create a new constant point.
point (PointF)Point.
Point.

Make

#
public static Dot Make(string stateName, PointF a, PointF b)
Create a point with a variable offset from a fixed anchor.
stateName (string)Name of motion state.
a (PointF)Point for state start.
b (PointF)Point for state end.
Point.

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
implicitPointFDotCreate a new constant point.
implicitDotPointFConvert a state dependent point into a regular point.