IGeometryImplTryGetSegment Method
Attempts to get the corresponding path segment
given by the two distances specified.
Imagine it like snipping a part of the current
geometry.
Namespace: Avalonia.PlatformAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
bool TryGetSegment(
double startDistance,
double stopDistance,
bool startOnBeginFigure,
out IGeometryImpl?? segmentGeometry
)
Function TryGetSegment (
startDistance As Double,
stopDistance As Double,
startOnBeginFigure As Boolean,
<OutAttribute> ByRef segmentGeometry As IGeometryImpl
) As Boolean
abstract TryGetSegment :
startDistance : float *
stopDistance : float *
startOnBeginFigure : bool *
segmentGeometry : IGeometryImpl byref -> bool
- startDistance Double
- The contour distance to start snipping from.
- stopDistance Double
- The contour distance to stop snipping to.
- startOnBeginFigure Boolean
- If ture, the resulting snipped path will start with a BeginFigure call.
- segmentGeometry IGeometryImpl
- The resulting snipped path.
BooleanIf the snipping operation is successful.