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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.