編輯

共用方式為


SKPath.Offset Method

Definition

Overloads

Offset(SKPoint)

Set the beginning of the next contour to the point.

Offset(Single, Single)

Offset the path by the specified distance.

Offset(SKPoint)

Set the beginning of the next contour to the point.

public void Offset (SkiaSharp.SKPoint offset);

Parameters

offset
SKPoint

The amount to offset the entire path.

Applies to

Offset(Single, Single)

Offset the path by the specified distance.

public void Offset (float dx, float dy);

Parameters

dx
Single

The amount in the x-direction to offset the entire path.

dy
Single

The amount in the y-direction to offset the entire path.

Applies to