DrawableCreateGraphics Method |
Creates a graphics context for this control
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public Graphics CreateGraphics()
Public Function CreateGraphics As Graphics
member 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