Editar

Compartir a través de


SKPath.AddPath Method

Definition

Overloads

AddPath(SKPath, SKPathAddMode)

Extends the current path with the path elements from another path, 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.

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.

Applies to

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.

Applies to

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.

Applies to