Skip to main content

GetRenderBounds Method

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

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public Rect GetRenderBounds(
IPen pen
)

Parameters

  IPen
The stroke thickness.

Return Value

Rect
The bounding rectangle.

See Also

Reference

Geometry Class
Avalonia.Media Namespace