Skip to main content

TryGetPointAndTangentAtDistance 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)

public bool TryGetPointAndTangentAtDistance(
double distance,
out Point? point,
out Point? tangent
)

Parameters

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

Return Value

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

See Also

Reference

Geometry Class
Avalonia.Media Namespace