Click or drag to resize

Drawable Class

Control with a paintable user interface
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public class Drawable : Panel

The Drawable type exposes the following members.

Constructors
  NameDescription
Public methodDrawable
Initializes a new instance of the Drawable class.
Public methodDrawable(Boolean)
Initializes a new instance of the Drawable class with a hint whether it is intended for a large canvas
Protected methodDrawable(DrawableIHandler)
Initializes a new instance of the Drawable class with the specified handler
Top
Properties
  NameDescription
Public propertyCanFocus
Gets or sets a value indicating whether this instance can recieve the input/keyboard focus
Public propertySupportsCreateGraphics
Gets a value indicating whether this Drawable supports the CreateGraphics method
Top
Methods
  NameDescription
Public methodCreateGraphics
Creates a graphics context for this control
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides ControlGetCallback.)
Protected methodOnPaint
Raises the Paint event
Public methodUpdate
Update the specified region directly
Top
Events
  NameDescription
Public eventPaint
Event to handle custom painting on the control
Top
Remarks
The drawable control is used to perform custom painting.
See Also