C# Class Eto.Drawing.IconFrame

Inheritance: IControlObjectSource, IHandlerSource
Afficher le fichier Open project: picoe/Eto Class Usage Examples

Private Properties

Свойство Type Description
IconFrame System

Méthodes publiques

Méthode 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

Méthode Description
IconFrame ( float scale ) : System

Method Details

FromControlObject() public static méthode

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.
Résultat IconFrame

FromResource() public static méthode

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.
Résultat IconFrame

IconFrame() public méthode

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
Résultat System

IconFrame() public méthode

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.
Résultat System

IconFrame() public méthode

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.
Résultat System