SKPaint.GetFillPath 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 |
|---|---|
| GetFillPath(SKPath, SKPathBuilder, SKRect, Single) |
Computes the filled geometry of the source path within the cull rectangle at the specified resolution scale, and writes the result to the destination path builder. |
| GetFillPath(SKPath, SKPathBuilder, SKRect, SKMatrix) |
Computes the filled geometry of the source path within the cull rectangle after applying a transformation matrix, and writes the result to the destination path builder. |
| GetFillPath(SKPath, SKPath, SKRect, Single) |
Obsolete.
Applies any and all effects to a source path, returning the result in the destination. |
| GetFillPath(SKPath, SKPath, SKRect, SKMatrix) |
Obsolete.
Applies any and all effects to a source path with culling and transformation, writing the result to the destination. |
| GetFillPath(SKPath, SKRect, Single) |
Creates a new path from the result of applying any and all effects to a source path. |
| GetFillPath(SKPath, SKRect, SKMatrix) |
Creates a new path from the result of applying effects to a source path with culling and transformation. |
| GetFillPath(SKPath, SKPathBuilder, Single) |
Computes the filled geometry of the source path at the specified resolution scale and writes the result to the destination path builder. |
| GetFillPath(SKPath, SKPathBuilder, SKMatrix) |
Computes the filled geometry of the source path after applying a transformation matrix and writes the result to the destination path builder. |
| GetFillPath(SKPath, SKPathBuilder, SKRect) |
Computes the filled geometry of the source path within the cull rectangle and writes the result to the destination path builder. |
| GetFillPath(SKPath, SKPath, SKRect) |
Obsolete.
Applies any and all effects to a source path, returning the result in the destination. |
| GetFillPath(SKPath, SKPath, Single) |
Obsolete.
Applies any and all effects to a source path, returning the result in the destination. |
| GetFillPath(SKPath, SKPath, SKMatrix) |
Obsolete.
Applies any and all effects to a source path with a transformation matrix, writing the result to the destination. |
| GetFillPath(SKPath, Single) |
Creates a new path from the result of applying any and all effects to a source path. |
| GetFillPath(SKPath, SKRect) |
Creates a new path from the result of applying any and all effects to a source path. |
| GetFillPath(SKPath, SKPathBuilder) |
Computes the filled geometry of the source path using this paint's style and writes the result to the destination path builder. |
| GetFillPath(SKPath, SKPath) |
Obsolete.
Applies any and all effects to a source path, returning the result in the destination. |
| GetFillPath(SKPath, SKMatrix) |
Creates a new path from the result of applying any and all effects to a source path with a transformation matrix. |
| GetFillPath(SKPath) |
Creates a new path from the result of applying any and all effects to a source path. |
GetFillPath(SKPath, SKPathBuilder, SKRect, Single)
Computes the filled geometry of the source path within the cull rectangle at the specified resolution scale, and writes the result to the destination path builder.
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPathBuilder dst, SkiaSharp.SKRect cullRect, float resScale);
Parameters
- src
- SKPath
The source path to fill.
- dst
- SKPathBuilder
The SKPathBuilder to which the filled path is written.
- cullRect
- SKRect
A rectangle used to cull path elements that lie entirely outside its bounds.
- resScale
- Single
The scale factor used to determine resolution-dependent path simplification.
Returns
true if the fill path was successfully computed; otherwise, false.
Applies to
GetFillPath(SKPath, SKPathBuilder, SKRect, SKMatrix)
Computes the filled geometry of the source path within the cull rectangle after applying a transformation matrix, and writes the result to the destination path builder.
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPathBuilder dst, SkiaSharp.SKRect cullRect, SkiaSharp.SKMatrix matrix);
Parameters
- src
- SKPath
The source path to fill.
- dst
- SKPathBuilder
The SKPathBuilder to which the filled path is written.
- cullRect
- SKRect
A rectangle used to cull path elements that lie entirely outside its bounds.
- matrix
- SKMatrix
The transformation matrix to apply before computing the fill.
Returns
true if the fill path was successfully computed; otherwise, false.
Applies to
GetFillPath(SKPath, SKPath, SKRect, Single)
Caution
Use the SKPathBuilder overload instead.
Applies any and all effects to a source path, returning the result in the destination.
[System.Obsolete("Use the SKPathBuilder overload instead.")]
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPath dst, SkiaSharp.SKRect cullRect, float resScale);
Parameters
- src
- SKPath
The input path.
- dst
- SKPath
The output path.
- cullRect
- SKRect
The destination path may be culled to this rectangle.
- resScale
- Single
If > 1, increase precision, else if (0 < res < 1) reduce precision in favor of speed/size.
Returns
true if the path should be filled, or false if it should be drawn with a hairline.
- Attributes
Applies to
GetFillPath(SKPath, SKPath, SKRect, SKMatrix)
Caution
Use the SKPathBuilder overload instead.
Applies any and all effects to a source path with culling and transformation, writing the result to the destination.
[System.Obsolete("Use the SKPathBuilder overload instead.")]
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPath dst, SkiaSharp.SKRect cullRect, SkiaSharp.SKMatrix matrix);
Parameters
- src
- SKPath
The source path to transform.
- dst
- SKPath
The destination path to receive the result.
- cullRect
- SKRect
The culling rectangle to limit the path effect.
- matrix
- SKMatrix
The transformation matrix to apply.
Returns
true if the path should be filled; false if it should be drawn with a hairline.
- Attributes
Applies to
GetFillPath(SKPath, SKRect, Single)
Creates a new path from the result of applying any and all effects to a source path.
public SkiaSharp.SKPath GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKRect cullRect, float resScale);
Parameters
- src
- SKPath
The source path.
- cullRect
- SKRect
The limit to be passed to the path effect.
- resScale
- Single
If > 1, increase precision, else if (0 < res < 1) reduce precision in favor of speed/size.
Returns
Returns the resulting fill path, or null if the source path should be drawn with a hairline.
Applies to
GetFillPath(SKPath, SKRect, SKMatrix)
Creates a new path from the result of applying effects to a source path with culling and transformation.
public SkiaSharp.SKPath GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKRect cullRect, SkiaSharp.SKMatrix matrix);
Parameters
- src
- SKPath
The source path to transform.
- cullRect
- SKRect
The culling rectangle to limit the path effect.
- matrix
- SKMatrix
The transformation matrix to apply.
Returns
Returns the resulting fill path, or null if the source path should be drawn with a hairline.
Applies to
GetFillPath(SKPath, SKPathBuilder, Single)
Computes the filled geometry of the source path at the specified resolution scale and writes the result to the destination path builder.
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPathBuilder dst, float resScale);
Parameters
- src
- SKPath
The source path to fill.
- dst
- SKPathBuilder
The SKPathBuilder to which the filled path is written.
- resScale
- Single
The scale factor used to determine resolution-dependent path simplification.
Returns
true if the fill path was successfully computed; otherwise, false.
Applies to
GetFillPath(SKPath, SKPathBuilder, SKMatrix)
Computes the filled geometry of the source path after applying a transformation matrix and writes the result to the destination path builder.
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPathBuilder dst, SkiaSharp.SKMatrix matrix);
Parameters
- src
- SKPath
The source path to fill.
- dst
- SKPathBuilder
The SKPathBuilder to which the filled path is written.
- matrix
- SKMatrix
The transformation matrix to apply before computing the fill.
Returns
true if the fill path was successfully computed; otherwise, false.
Applies to
GetFillPath(SKPath, SKPathBuilder, SKRect)
Computes the filled geometry of the source path within the cull rectangle and writes the result to the destination path builder.
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPathBuilder dst, SkiaSharp.SKRect cullRect);
Parameters
- src
- SKPath
The source path to fill.
- dst
- SKPathBuilder
The SKPathBuilder to which the filled path is written.
- cullRect
- SKRect
A rectangle used to cull path elements that lie entirely outside its bounds.
Returns
true if the fill path was successfully computed; otherwise, false.
Applies to
GetFillPath(SKPath, SKPath, SKRect)
Caution
Use the SKPathBuilder overload instead.
Applies any and all effects to a source path, returning the result in the destination.
[System.Obsolete("Use the SKPathBuilder overload instead.")]
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPath dst, SkiaSharp.SKRect cullRect);
Parameters
- src
- SKPath
The source path.
- dst
- SKPath
The output path.
- cullRect
- SKRect
The limit to be passed to the path effect.
Returns
true if the path should be filled, or false if it should be drawn with a hairline.
- Attributes
Applies to
GetFillPath(SKPath, SKPath, Single)
Caution
Use the SKPathBuilder overload instead.
Applies any and all effects to a source path, returning the result in the destination.
[System.Obsolete("Use the SKPathBuilder overload instead.")]
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPath dst, float resScale);
Parameters
- src
- SKPath
The input path.
- dst
- SKPath
The output path.
- resScale
- Single
If > 1, increase precision, else if (0 < res < 1) reduce precision in favor of speed/size.
Returns
true if the path should be filled, or false if it should be drawn with a hairline.
- Attributes
Applies to
GetFillPath(SKPath, SKPath, SKMatrix)
Caution
Use the SKPathBuilder overload instead.
Applies any and all effects to a source path with a transformation matrix, writing the result to the destination.
[System.Obsolete("Use the SKPathBuilder overload instead.")]
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPath dst, SkiaSharp.SKMatrix matrix);
Parameters
- src
- SKPath
The source path to transform.
- dst
- SKPath
The destination path to receive the result.
- matrix
- SKMatrix
The transformation matrix to apply.
Returns
true if the path should be filled; false if it should be drawn with a hairline.
- Attributes
Applies to
GetFillPath(SKPath, Single)
Creates a new path from the result of applying any and all effects to a source path.
public SkiaSharp.SKPath GetFillPath(SkiaSharp.SKPath src, float resScale);
Parameters
- src
- SKPath
The source path.
- resScale
- Single
If > 1, increase precision, else if (0 < res < 1) reduce precision in favor of speed/size.
Returns
Returns the resulting fill path, or null if the source path should be drawn with a hairline.
Applies to
GetFillPath(SKPath, SKRect)
Creates a new path from the result of applying any and all effects to a source path.
public SkiaSharp.SKPath GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKRect cullRect);
Parameters
- src
- SKPath
The source path.
- cullRect
- SKRect
The limit to be passed to the path effect.
Returns
Returns the resulting fill path, or null if the source path should be drawn with a hairline.
Applies to
GetFillPath(SKPath, SKPathBuilder)
Computes the filled geometry of the source path using this paint's style and writes the result to the destination path builder.
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPathBuilder dst);
Parameters
- src
- SKPath
The source path to fill.
- dst
- SKPathBuilder
The SKPathBuilder to which the filled path is written.
Returns
true if the fill path was successfully computed; otherwise, false.
Applies to
GetFillPath(SKPath, SKPath)
Caution
Use the SKPathBuilder overload instead.
Applies any and all effects to a source path, returning the result in the destination.
[System.Obsolete("Use the SKPathBuilder overload instead.")]
public bool GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKPath dst);
Parameters
- src
- SKPath
The input path.
- dst
- SKPath
The output path.
Returns
true if the path should be filled, or false if it should be drawn with a hairline.
- Attributes
Applies to
GetFillPath(SKPath, SKMatrix)
Creates a new path from the result of applying any and all effects to a source path with a transformation matrix.
public SkiaSharp.SKPath GetFillPath(SkiaSharp.SKPath src, SkiaSharp.SKMatrix matrix);
Parameters
- src
- SKPath
The source path to transform.
- matrix
- SKMatrix
The transformation matrix to apply.
Returns
Returns the resulting fill path, or null if the source path should be drawn with a hairline.
Applies to
GetFillPath(SKPath)
Creates a new path from the result of applying any and all effects to a source path.
public SkiaSharp.SKPath GetFillPath(SkiaSharp.SKPath src);
Parameters
- src
- SKPath
The source path.
Returns
Returns the resulting fill path, or null if the source path should be drawn with a hairline.