DrawableIHandlerCreateGraphics Method |
Creates a graphics context for this control
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax Graphics CreateGraphics()
Function CreateGraphics As Graphics
abstract CreateGraphics : unit -> Graphics
Return Value
Type:
GraphicsA new graphics context that can be used to draw directly onto the control
Remarks
This can be used to draw directly onto the control.
Ensure you dispose the graphics object after performing any painting.
Note that not all platforms support drawing directly on the control, use
SupportsCreateGraphics.
See Also