Click or drag to resize

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()

Return Value

Type: Graphics
A 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