CompoundStroke

public sealed class CompoundStroke : IAnimatedStroke
Represents a continuous collection of animated strokes.

Constructors

CompoundStroke

#
Create a new compound.
public CompoundStroke(
strokes
Element strokes.
)

CompoundStroke

#
Create a new compound.
public CompoundStroke(
params IAnimatedStroke[]
strokes
Element strokes.
)

Properties

Count

#
Gets the number of strokes.
public int Count { get; }

Length

#
Gets the length of this stroke.
public float Length { get; }
Length

Point0

#
Gets the start point of this stroke.
public PointF Point0 { get; }
Point0

Point1

#
Gets the end point of this stroke.
public PointF Point1 { get; }
Point1

Methods

AppendStroke

#
Append this stroke to a path.
public void AppendStroke(
GraphicsPath
path,
Path to append to.
t0,
Normalised start parameter.
t1
Normalised end parameter.
)
AppendStroke

ToArray

#
Convert this compound to an array of individual strokes.
public IAnimatedStroke[] ToArray()
Array of strokes.