CanvasGeometry.ComputePointOnPath Method (Single, Matrix3x2, Single, Vector2) |
Returns the point and tangent vector at the specified distance along the segments of the geometry.
Namespace:
Microsoft.Graphics.Canvas.Geometry
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntaxpublic Vector2 ComputePointOnPath(
float length,
Matrix3x2 transform,
float flatteningTolerance,
out Vector2 tangent
)
Parameters
- length
- Type: System.Single
- transform
- Type: System.Numerics.Matrix3x2
- flatteningTolerance
- Type: System.Single
- tangent
- Type: System.Numerics.Vector2
Return Value
Type:
Vector2
Remarks
See Also