Editar

Compartilhar via


SKPoint.Subtract Method

Definition

Overloads

Subtract(SKPoint, SKPoint)

Translates a given point by the negative of a specified offset.

Subtract(SKPoint, SKPointI)

Translates a given point by the negative of a specified offset.

Subtract(SKPoint, SKSize)

Translates a SKPoint by the negative of a specified size.

Subtract(SKPoint, SKSizeI)

Translates a SKPoint by the negative of a specified size.

Subtract(SKPoint, SKPoint)

Translates a given point by the negative of a specified offset.

public static SkiaSharp.SKPoint Subtract (SkiaSharp.SKPoint pt, SkiaSharp.SKPoint sz);

Parameters

pt
SKPoint

The SKPoint to translate.

sz
SKPoint

The offset that specifies the numbers to subtract from the coordinates of pt.

Returns

The translated SKPoint.

Applies to

Subtract(SKPoint, SKPointI)

Translates a given point by the negative of a specified offset.

public static SkiaSharp.SKPoint Subtract (SkiaSharp.SKPoint pt, SkiaSharp.SKPointI sz);

Parameters

pt
SKPoint

The SKPoint to translate.

sz
SKPointI

The offset that specifies the numbers to subtract from the coordinates of pt.

Returns

The translated SKPoint.

Applies to

Subtract(SKPoint, SKSize)

Translates a SKPoint by the negative of a specified size.

public static SkiaSharp.SKPoint Subtract (SkiaSharp.SKPoint pt, SkiaSharp.SKSize sz);

Parameters

pt
SKPoint

The SKPoint to translate.

sz
SKSize

The SKSize that specifies the numbers to subtract from the coordinates of pt.

Returns

The translated SKPoint.

Applies to

Subtract(SKPoint, SKSizeI)

Translates a SKPoint by the negative of a specified size.

public static SkiaSharp.SKPoint Subtract (SkiaSharp.SKPoint pt, SkiaSharp.SKSizeI sz);

Parameters

pt
SKPoint

The SKPoint to translate.

sz
SKSizeI

The SKSize that specifies the numbers to subtract from the coordinates of pt.

Returns

The translated SKPoint.

Applies to