Skip to main content

DrawGeometry Method

Draws a geometry.

Definition​

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

public void DrawGeometry(
IBrush? brush,
IPen? pen,
Geometry geometry
)

Parameters​

  IBrush
The fill brush.
  IPen
The stroke pen.
  Geometry
The geometry.

See Also​

Reference​

DrawingContext Class
Avalonia.Media Namespace