Editar

Compartir a través de


SKPointI.Offset Method

Definition

Overloads

Offset(Int32, Int32)

Translates this SKPointI by the specified amount.

Offset(SKPointI)

Translates this SKPointI by the specified SKPointI.

Offset(Int32, Int32)

Translates this SKPointI by the specified amount.

public void Offset (int dx, int dy);

Parameters

dx
Int32

The amount to offset the x-coordinate.

dy
Int32

The amount to offset the y-coordinate.

Applies to

Offset(SKPointI)

Translates this SKPointI by the specified SKPointI.

public void Offset (SkiaSharp.SKPointI p);

Parameters

p
SKPointI

The SKPointI used to offset this SKPointI.

Remarks

This method adjusts the X and Y values of this Point to the sum of the X and Y values of this SKPointI and p.

Applies to