Upravit

Sdílet prostřednictvím


SKPath.Bounds Property

Definition

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

public SkiaSharp.SKRect Bounds { get; }

Property 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 encompasses all points, even isolated MoveTo either preceding or following the last non-degenerate contour.

Applies to