Edit

SKPath.AddPath Method

Definition

Overloads

Name Description
AddPath(SKPath, SKPathAddMode)
Obsolete.

Extends the current path with the path elements from another path, using the specified extension mode.

AddPath(SKPath, SKMatrix, SKPathAddMode)
Obsolete.

Extends the current path with the path elements from another path, by applying the specified transformation matrix, using the specified extension mode.

AddPath(SKPath, Single, Single, SKPathAddMode)
Obsolete.

Extends the current path with the path elements from another path offset by (dx, dy), using the specified extension mode.

AddPath(SKPath, SKPathAddMode)

Caution

Use SKPathBuilder instead.

Extends the current path with the path elements from another path, using the specified extension mode.

[System.Obsolete("Use SKPathBuilder instead.")]
public void AddPath(SkiaSharp.SKPath other, SkiaSharp.SKPathAddMode mode = SkiaSharp.SKPathAddMode.Append);

Parameters

other
SKPath

The path containing the elements to be added to the current path.

mode
SKPathAddMode

Determines how the other path contours are added to the path. On Append mode, contours are added as new contours. On Extend mode, the last contour of the path is extended with the first contour of the other path.

Attributes

Applies to

AddPath(SKPath, SKMatrix, SKPathAddMode)

Caution

Use SKPathBuilder instead.

Extends the current path with the path elements from another path, by applying the specified transformation matrix, using the specified extension mode.

[System.Obsolete("Use SKPathBuilder instead.")]
public void AddPath(SkiaSharp.SKPath other, in SkiaSharp.SKMatrix matrix, SkiaSharp.SKPathAddMode mode = SkiaSharp.SKPathAddMode.Append);

Parameters

other
SKPath

The path containing the elements to be added to the current path.

matrix
SKMatrix

Transformation matrix applied to the other path.

mode
SKPathAddMode

Determines how the other path contours are added to the path. On Append mode, contours are added as new contours. On Extend mode, the last contour of the path is extended with the first contour of the other path.

Attributes

Applies to

AddPath(SKPath, Single, Single, SKPathAddMode)

Caution

Use SKPathBuilder instead.

Extends the current path with the path elements from another path offset by (dx, dy), using the specified extension mode.

[System.Obsolete("Use SKPathBuilder instead.")]
public void AddPath(SkiaSharp.SKPath other, float dx, float dy, SkiaSharp.SKPathAddMode mode = SkiaSharp.SKPathAddMode.Append);

Parameters

other
SKPath

The path containing the elements to be added to the current path.

dx
Single

The amount to translate the path in X as it is added.

dy
Single

The amount to translate the path in Y as it is added.

mode
SKPathAddMode

Determines how the other path contours are added to the path. On Append mode, contours are added as new contours. On Extend mode, the last contour of the path is extended with the first contour of the other path.

Attributes

Applies to