SKRect.Offset Method

Definition

Overloads

Offset(SKPoint)

Translates the this rectangle by the specified amount.

Offset(Single, Single)

Translates the this rectangle by the specified amount.

Offset(SKPoint)

Translates the this rectangle by the specified amount.

public void Offset (SkiaSharp.SKPoint pos);

Parameters

pos
SKPoint

The amount to offset the rectangle.

Applies to

Offset(Single, Single)

Translates the this rectangle by the specified amount.

public void Offset (float x, float y);

Parameters

x
Single

The amount to offset the location horizontally.

y
Single

The amount to offset the location vertically.

Applies to