Click or drag to resize

Icon Constructor (Single, Bitmap)

Initializes a new instance of the Icon class with the specified bitmap.

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public Icon(
	float scale,
	Bitmap bitmap
)

Parameters

scale
Type: SystemSingle
Logical pixel scale of the specified bitmap.
bitmap
Type: Eto.DrawingBitmap
Bitmap for the frame.
Remarks
This is used when you want to create an icon with a single bitmap frame with the specified logical scale.
See Also