GeometryTryGetPointAndTangentAtDistance Method

Attempts to get the corresponding point and tangent from the specified distance along the contour of the geometry.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public bool TryGetPointAndTangentAtDistance(
	double distance,
	out Point? point,
	out Point? tangent
)

Parameters

distance  Double
The contour distance to get from.
point  Point
The point in the specified distance.
tangent  Point
The tangent in the specified distance.

Return Value

Boolean
If there's valid point and tangent at the specified distance.

See Also