C# Class Eto.Drawing.IconFrame

Inheritance: IControlObjectSource, IHandlerSource
Show file Open project: picoe/Eto Class Usage Examples

Private Properties

Property Type Description
IconFrame System

Public Methods

Method Description
FromControlObject ( float scale, object controlObject ) : IconFrame

Creates an instance of the IconFrame with the specified native control object.

This is used by platform implementations to create instances of this class with the appropriate control object. This is not intended to be called directly.

FromResource ( float scale, string resourceName, Assembly assembly = null ) : IconFrame

Creates an instance of the IconFrame from an embedded resource.

IconFrame ( float scale, Bitmap bitmap ) : System

Initializes a new instance of the Eto.Drawing.IconFrame class.

IconFrame ( float scale, Func load ) : System

Initializes a new instance of the Eto.Drawing.IconFrame class.

IconFrame ( float scale, Stream stream ) : System

Initializes a new instance of the Eto.Drawing.IconFrame class.

Private Methods

Method Description
IconFrame ( float scale ) : System

Method Details

FromControlObject() public static method

Creates an instance of the IconFrame with the specified native control object.
This is used by platform implementations to create instances of this class with the appropriate control object. This is not intended to be called directly.
public static FromControlObject ( float scale, object controlObject ) : IconFrame
scale float Scale of logical to physical pixels.
controlObject object Native control object.
return IconFrame

FromResource() public static method

Creates an instance of the IconFrame from an embedded resource.
public static FromResource ( float scale, string resourceName, Assembly assembly = null ) : IconFrame
scale float Scale of logical to physical pixels.
resourceName string Name of the embedded resource to load.
assembly System.Reflection.Assembly Assembly to load the embedded resource from, or null to use the calling assembly.
return IconFrame

IconFrame() public method

Initializes a new instance of the Eto.Drawing.IconFrame class.
public IconFrame ( float scale, Bitmap bitmap ) : System
scale float Scale of logical to physical pixels.
bitmap Bitmap Bitmap for the frame
return System

IconFrame() public method

Initializes a new instance of the Eto.Drawing.IconFrame class.
public IconFrame ( float scale, Func load ) : System
scale float Scale of logical to physical pixels.
load Func Delegate to load the stream when the frame's data is required.
return System

IconFrame() public method

Initializes a new instance of the Eto.Drawing.IconFrame class.
public IconFrame ( float scale, Stream stream ) : System
scale float Scale of logical to physical pixels.
stream Stream Stream for the bitmap data.
return System