IGeometryImplGetRenderBounds Method

Gets the geometry's bounding rectangle with the specified pen.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
Rect GetRenderBounds(
	IPen? pen
)

Parameters

pen  IPen
The pen to use. May be null.

Return Value

Rect
The bounding rectangle.

See Also