public abstract class Run : IShape
Represents a run of connected line segments.

Constructors

Run

#
protected Run(IReader reader)
reader (IReader)

Run

#
protected Run(PointF[] value)
value (PointF[])

Properties

SvgPathCode

#
public virtual string SvgPathCode { get; }
SvgPathCode

Value

#
public PointF[] Value { get; protected set; }

Methods

CoordinatesToPoints

#
public static PointF[] CoordinatesToPoints(params double[] coordinates)
coordinates (params double[])

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 Run Make(params Dot[] points)
Create a new variable polyline element.
points (params Dot[])Points.

Make

#
public static Run Make(params PointF[] points)
Create a new constant polyline element.
points (params PointF[])

Make

#
public static Run Make(string stateName, params PointF[] points)
Create a new polyline element slaved to a named state.
stateName (string)
points (params PointF[])

Store

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

ThickLine

#
public static Run ThickLine(PointF point0, PointF point1, float thickness)
Create a polyline element which represents a thickened line. This is basically an easy way to construct an angled box.
point0 (PointF)Start of central line.
point1 (PointF)End of central line.
thickness (float)Thickness of rectangle.
Polyline segment.

Update

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