Summary
Gets the geometry's bounding rectangle with the specified pen.
- Namespace
- Avalonia
.Media - Containing Type
- Geometry
Syntax
public Rect GetRenderBounds(IPen pen)
Parameters
Name | Type | Description |
---|---|---|
pen | IPen | The stroke thickness. |
Return Value
Type | Description |
---|---|
Rect | The bounding rectangle. |