SKRoundRect.Offset Method

Definition

Overloads

Offset(SKPoint)

Translate the rectangle by the specified amount.

Offset(Single, Single)

Translate the rectangle by the specified amount.

Offset(SKPoint)

Translate the rectangle by the specified amount.

public void Offset (SkiaSharp.SKPoint pos);

Parameters

pos
SKPoint

The amount to translate the rectangle by.

Applies to

Offset(Single, Single)

Translate the rectangle by the specified amount.

public void Offset (float dx, float dy);

Parameters

dx
Single

The amount to translate the rectangle by along the x-axis.

dy
Single

The amount to translate the rectangle by along the y-axis.

Applies to