編輯

共用方式為


SKPath.GetPoints Method

Definition

Overloads

GetPoints(Int32)

Returns a subset of points in the path. Up to max points are copied.

GetPoints(SKPoint[], Int32)

Returns a subset of points in the path. Up to max points are copied.

GetPoints(Int32)

Returns a subset of points in the path. Up to max points are copied.

public SkiaSharp.SKPoint[] GetPoints (int max);

Parameters

max
Int32

The maximum number of points to copy into points.

Returns

Returns the requested set of points.

Applies to

GetPoints(SKPoint[], Int32)

Returns a subset of points in the path. Up to max points are copied.

public int GetPoints (SkiaSharp.SKPoint[] points, int max);

Parameters

points
SKPoint[]

The array to hold the points.

max
Int32

The maximum number of points to copy into points.

Returns

Returns the actual number of points in the path

Applies to