SKPath.GetRect 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
GetRect() |
Returns the rectangle of the path. |
GetRect(Boolean, SKPathDirection) |
Returns the rectangle of the path. |
GetRect()
GetRect(Boolean, SKPathDirection)
Returns the rectangle of the path.
public SkiaSharp.SKRect GetRect (out bool isClosed, out SkiaSharp.SKPathDirection direction);
Parameters
- isClosed
- Boolean
Whether or not the rectangle is closed.
- direction
- SKPathDirection
The direction of the rectangle.
Returns
Returns the rectangle of the path.
Remarks
If the path is not a single rectangle, then an empty rectangle is returned. See also IsRect.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.