LineStroke

public sealed class LineStroke : IAnimatedStroke
Implements IAnimatedStroke for lines.

Constructors

LineStroke

#
public LineStroke(PointF point0, PointF point1)
Create a new line stroke.
point0 (PointF)Line start.
point1 (PointF)

Properties

Length

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

Point0

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

Point1

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

Methods

AppendStroke

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