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)
- C#
- VB
- F#
public bool TryGetPointAndTangentAtDistance(
double distance,
out Point? point,
out Point? tangent
)
Public Function TryGetPointAndTangentAtDistance (
distance As Double,
<OutAttribute> ByRef point As Point,
<OutAttribute> ByRef tangent As Point
) As Boolean
member TryGetPointAndTangentAtDistance :
distance : float *
point : Point byref *
tangent : Point byref -> bool
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.