편집

다음을 통해 공유


SKPoint.Add Method

Definition

Overloads

Add(SKPoint, SKPoint)

Translates a given point by a specified offset.

Add(SKPoint, SKPointI)

Translates a given point by a specified offset.

Add(SKPoint, SKSize)

Translates a given point by a specified size.

Add(SKPoint, SKSizeI)

Translates a given point by a specified size.

Add(SKPoint, SKPoint)

Translates a given point by a specified offset.

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

Parameters

pt
SKPoint

The point to translate.

sz
SKPoint

The offset value.

Returns

Returns the translated point.

Applies to

Add(SKPoint, SKPointI)

Translates a given point by a specified offset.

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

Parameters

pt
SKPoint

The point to translate.

sz
SKPointI

The offset value.

Returns

Returns the translated point.

Applies to

Add(SKPoint, SKSize)

Translates a given point by a specified size.

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

Parameters

pt
SKPoint

The point to translate.

sz
SKSize

The offset size.

Returns

Returns the translated point.

Applies to

Add(SKPoint, SKSizeI)

Translates a given point by a specified size.

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

Parameters

pt
SKPoint

The point to translate

sz
SKSizeI

The offset size.

Returns

Returns the translated point.

Applies to