Table of Contents

Method ComputePointAndSegmentAtLength

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

ComputePointAndSegmentAtLength(float, int, in Matrix3x2Float?, float?)

Computes the point that exists at a given distance along the path geometry along with the index of the segment the point is on and the directional vector at that point.

PathPointDescription ComputePointAndSegmentAtLength(float length, int startSegment, in Matrix3x2Float? worldTransform = null, float? flatteningTolerance = null)

Parameters

length float
startSegment int
worldTransform Matrix3x2Float?
flatteningTolerance float?

Returns

PathPointDescription