PathBounds Property

Gets the bounds of this Path in pixels required for filling it by a Brush. When drawing, the returned bounds needed to be inflated depending on the corresponding Pen.Width.

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public Rectangle Bounds { get; }

Property Value

Rectangle

Exceptions

OverflowExceptionThe Path contains points that exceed the bounds of a Rectangle.

See Also