Releases all resource used by the
Pen object.
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax abstract Dispose : unit -> unit
override Dispose : unit -> unit
Implements
IDisposableDisposeRemarks 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