Editar

Compartilhar via


SKRectI.Offset Method

Definition

Overloads

Offset(Int32, Int32)

Translates the this rectangle by the specified amount.

Offset(SKPointI)

Translates the this rectangle by the specified amount.

Offset(Int32, Int32)

Translates the this rectangle by the specified amount.

public void Offset (int x, int y);

Parameters

x
Int32

The amount to offset the location horizontally.

y
Int32

The amount to offset the location vertically.

Applies to

Offset(SKPointI)

Translates the this rectangle by the specified amount.

public void Offset (SkiaSharp.SKPointI pos);

Parameters

pos
SKPointI

The amount to offset the rectangle.

Applies to