Skip to main content

GetWidenedGeometry Method

Gets a Geometry that is the shape defined by the stroke on the Geometry produced by the specified Pen.

Definition​

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

public Geometry GetWidenedGeometry(
IPen pen
)

Parameters​

  IPen
The pen to use.

Return Value​

Geometry
The outlined geometry.

See Also​

Reference​

Geometry Class
Avalonia.Media Namespace