SkiaSharp.SKPath.Bounds Property

Gets the bounds of the path's points. If the path contains zero points/verbs, this will return the empty rectangle.

Syntax

public SKRect Bounds { get; }

Value

Gets the bounds of the path's points.

Remarks

This bounds may be larger than the actual shape, since curves do not extend as far as their control points. Additionally this bound encompases all points, even isolated MoveTo either preceeding or following the last non-degenerate contour.

Requirements

Namespace: SkiaSharp
Assembly: SkiaSharp (in SkiaSharp.dll)
Assembly Versions: 1.54.0.0, 1.55.0.0, 1.56.0.0, 1.57.0.0, 1.58.0.0, 1.59.0.0