SKPath.GetRect Method

Definition

Overloads

GetRect()

Returns the rectangle of the path.

GetRect(Boolean, SKPathDirection)

Returns the rectangle of the path.

GetRect()

Returns the rectangle of the path.

public SkiaSharp.SKRect GetRect ();

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

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