Share via


PathF.GetPointsForSegment(Int32) Method

Definition

Gets the points defining the segment at the specified index.

public:
 cli::array <Microsoft::Maui::Graphics::PointF> ^ GetPointsForSegment(int segmentIndex);
public Microsoft.Maui.Graphics.PointF[] GetPointsForSegment(int segmentIndex);
member this.GetPointsForSegment : int -> Microsoft.Maui.Graphics.PointF[]
Public Function GetPointsForSegment (segmentIndex As Integer) As PointF()

Parameters

segmentIndex
Int32

Segment index.

Returns

PointF[]

An array of points (length varies by segment type), an empty array for close segments, or null if invalid.

Applies to