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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.