SKPath.AddPath Method

Definition

Overloads

AddPath(SKPath, Single, Single, SKPath+AddMode)

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

AddPath(SKPath, SKMatrix, SKPathAddMode)

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)

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

AddPath(SKPath, SKPathAddMode)

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

AddPath(SKPath, SKPath+AddMode)

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

AddPath(SKPath, SKMatrix, SKPath+AddMode)

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, SKPath+AddMode)

Warning

This API is now obsolete.

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

[System.Obsolete("Use AddPath(SKPath, float, float, SKPathAddMode) instead.", true)]
public void AddPath (SkiaSharp.SKPath other, float dx, float dy, SkiaSharp.SKPath.AddMode mode);
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

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.

AddPath(SKPath, SKMatrix, SKPathAddMode)

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

public void AddPath (SkiaSharp.SKPath other, ref 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.

AddPath(SKPath, Single, Single, SKPathAddMode)

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

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.

AddPath(SKPath, SKPathAddMode)

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

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.

AddPath(SKPath, SKPath+AddMode)

Warning

This API is now obsolete.

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

[System.Obsolete("Use AddPath(SKPath, SKPathAddMode) instead.", true)]
public void AddPath (SkiaSharp.SKPath other, SkiaSharp.SKPath.AddMode mode);
Parameters
other
SKPath

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

mode

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.

AddPath(SKPath, SKMatrix, SKPath+AddMode)

Warning

This API is now obsolete.

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 AddPath(SKPath, ref SKMatrix, SKPathAddMode) instead.", true)]
public void AddPath (SkiaSharp.SKPath other, ref SkiaSharp.SKMatrix matrix, SkiaSharp.SKPath.AddMode mode);
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

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.

Applies to