C# Класс Eto.Drawing.IconFrame

Наследование: IControlObjectSource, IHandlerSource
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
IconFrame System

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
IconFrame ( float scale ) : System

Описание методов

FromControlObject() публичный статический Метод

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.
Результат IconFrame

FromResource() публичный статический Метод

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.
Результат IconFrame

IconFrame() публичный Метод

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
Результат System

IconFrame() публичный Метод

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.
Результат System

IconFrame() публичный Метод

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.
Результат System