GeometryGetRenderBounds Method

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

Definition

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

Parameters

pen  IPen
The stroke thickness.

Return Value

Rect
The bounding rectangle.

See Also