編輯

共用方式為


SKPointI.Add Method

Definition

Overloads

Add(SKPointI, SKPointI)

Translates a given SKPointI by the specified point.

Add(SKPointI, SKSizeI)

Translates a given SKPointI by the specified SKSizeI.

Add(SKPointI, SKPointI)

Translates a given SKPointI by the specified point.

public static SkiaSharp.SKPointI Add (SkiaSharp.SKPointI pt, SkiaSharp.SKPointI sz);

Parameters

pt
SKPointI

The point to translate.

sz
SKPointI

The point that specifies the number to add to the coordinates of pt.

Returns

The translated point.

Applies to

Add(SKPointI, SKSizeI)

Translates a given SKPointI by the specified SKSizeI.

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

Parameters

pt
SKPointI

The point to translate.

sz
SKSizeI

The size that specifies the number to add to the coordinates of pt.

Returns

The translated point.

Applies to