Click or drag to resize

Image Class

Base class for images
Inheritance Hierarchy

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
[TypeConverterAttribute(typeof(ImageConverter))]
public abstract class Image : Widget

The Image type exposes the following members.

Constructors
  NameDescription
Protected methodImage
Initializes a new instance of the Image class.
Protected methodImage(ImageIHandler)
Initializes a new instance of the Image class with the specified handler.
Top
Properties
  NameDescription
Public propertyHeight
Gets the height of the image, in pixels.
Public propertySize
Gets the size of the image, in pixels
Public propertyWidth
Gets the width of the image, in pixels.
Top
Remarks
This provides a base for image functionality so that drawing and widgets can reference any type of image, if supported. For instance, Graphics and ImageView can reference any Image-derived object.
See Also