Icon Class |
Namespace: Eto.Drawing
The Icon type exposes the following members.
Name | Description | |
---|---|---|
![]() | Icon(Stream) |
Initializes a new instance of the Icon class with the contents of the specified stream |
![]() | Icon(String) |
Intitializes a new instanc of the Icon class with the contents of the specified fileName |
![]() | Icon(IconIHandler) |
Initializes a new instance of the Icon class with the specified handler
|
![]() | Icon(IconFrame) |
Initializes a new instance of the Icon class with the specified frames.
|
![]() | Icon(IEnumerableIconFrame) |
Initializes a new instance of the Icon class with the specified frames.
|
![]() | Icon(Single, Bitmap) |
Initializes a new instance of the Icon class with the specified bitmap.
|
Name | Description | |
---|---|---|
![]() ![]() | FromResource(String, Assembly) |
Loads an icon from an embedded resource of the specified assembly
|
![]() ![]() | FromResource(String, Type) |
Loads an icon from a resource in the same assembly as the specified type |
![]() | GetFrame |
Gets the frame with the specified scale that can fit into the fittingSize if specified.
|
![]() | WithSize(Size) |
Gets a copy of this Icon with frames scaled to draw within the specified fitting size.
|
![]() | WithSize(Int32, Int32) |
Gets a copy of this Icon with frames scaled to draw within the specified fitting size.
|