SKPathBuilder.AddPath Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| AddPath(SKPath, SKPathAddMode) |
Appends the contours from another path to this builder. |
| AddPath(SKPath, SKMatrix, SKPathAddMode) |
Appends the contours from another path, transformed by a matrix, to this builder. |
| AddPath(SKPath, Single, Single, SKPathAddMode) |
Appends the contours from another path, translated by the specified offset, to this builder. |
AddPath(SKPath, SKPathAddMode)
Appends the contours from another path to this builder.
public void AddPath(SkiaSharp.SKPath other, SkiaSharp.SKPathAddMode mode = SkiaSharp.SKPathAddMode.Append);
Parameters
- other
- SKPath
The path whose contours are appended.
- mode
- SKPathAddMode
Controls how the contours of other are joined to the existing contours.
Applies to
AddPath(SKPath, SKMatrix, SKPathAddMode)
Appends the contours from another path, transformed by a matrix, to this builder.
public void AddPath(SkiaSharp.SKPath other, in SkiaSharp.SKMatrix matrix, SkiaSharp.SKPathAddMode mode = SkiaSharp.SKPathAddMode.Append);
Parameters
- other
- SKPath
The path whose contours are appended.
- matrix
- SKMatrix
A transformation matrix applied to the contours of other before appending.
- mode
- SKPathAddMode
Controls how the contours of other are joined to the existing contours.
Applies to
AddPath(SKPath, Single, Single, SKPathAddMode)
Appends the contours from another path, translated by the specified offset, to this builder.
public void AddPath(SkiaSharp.SKPath other, float dx, float dy, SkiaSharp.SKPathAddMode mode = SkiaSharp.SKPathAddMode.Append);
Parameters
- other
- SKPath
The path whose contours are appended.
- dx
- Single
The horizontal translation applied to the contours of other before appending.
- dy
- Single
The vertical translation applied to the contours of other before appending.
- mode
- SKPathAddMode
Controls how the contours of other are joined to the existing contours.