SKPoint.Subtraction Operator

Definition

Overloads

Subtraction(SKPoint, SKPoint)

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

Subtraction(SKPoint, SKPointI)

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

Subtraction(SKPoint, SKSize)

Translates a SKPoint by the negative of a given SKSize.

Subtraction(SKPoint, SKSizeI)

Translates a SKPoint by the negative of a given SKSizeI.

Subtraction(SKPoint, SKPoint)

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

public static SkiaSharp.SKPoint operator - (SkiaSharp.SKPoint pt, SkiaSharp.SKPoint sz);

Parameters

pt
SKPoint

The SKPoint to translate.

sz
SKPoint

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

Returns

The translated SKPoint.

Applies to

Subtraction(SKPoint, SKPointI)

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

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

Parameters

pt
SKPoint

The SKPoint to translate.

sz
SKPointI

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

Returns

The translated SKPoint.

Applies to

Subtraction(SKPoint, SKSize)

Translates a SKPoint by the negative of a given SKSize.

public static SkiaSharp.SKPoint operator - (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

Subtraction(SKPoint, SKSizeI)

Translates a SKPoint by the negative of a given SKSizeI.

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

Parameters

pt
SKPoint

The SKPoint to translate.

sz
SKSizeI

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

Returns

The translated SKPoint.

Applies to