Editar

Compartilhar via


SKPointI.Addition Operator

Definition

Overloads

Addition(SKPointI, SKPointI)

Translates a SKPointI by a given offset.

Addition(SKPointI, SKSizeI)

Translates a SKPointI by a given SKSizeI.

Addition(SKPointI, SKPointI)

Translates a SKPointI by a given offset.

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

Parameters

pt
SKPointI

The SKPointI to translate.

sz
SKPointI

A point that specifies the pair of numbers to add to the coordinates of pt.

Returns

Returns the translated SKPointI.

Applies to

Addition(SKPointI, SKSizeI)

Translates a SKPointI by a given SKSizeI.

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

Parameters

pt
SKPointI

The SKPointI to translate.

sz
SKSizeI

A SKSizeI that specifies the pair of numbers to add to the coordinates of pt.

Returns

Returns the translated SKPointI.

Applies to