편집

다음을 통해 공유


SKPointI.Subtraction Operator

Definition

Overloads

Subtraction(SKPointI, SKSizeI)

Translates a SKPointI by the negative of a given SKSizeI.

Subtraction(SKPointI, SKPointI)

Translates a SKPointI by the negative of a given point.

Subtraction(SKPointI, SKSizeI)

Translates a SKPointI by the negative of a given SKSizeI.

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

Parameters

pt
SKPointI

The SKPointI to translate.

sz
SKSizeI

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

Returns

The translated SKPointI.

Applies to

Subtraction(SKPointI, SKPointI)

Translates a SKPointI by the negative of a given point.

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

Parameters

pt
SKPointI

The SKPointI to translate.

sz
SKPointI

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

Returns

The translated SKPointI.

Applies to