Click or drag to resize

PenDispose Method

Releases all resource used by the Pen object.

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public void Dispose()

Implements

IDisposableDispose
Remarks
Call Dispose when you are finished using the Pen. The Dispose method leaves the Pen in an unusable state. After calling Dispose, you must release all references to the Pen so the garbage collector can reclaim the memory that the Pen was occupying.
See Also