| Package | Description |
|---|---|
| com.aspose.drawing |
Aspose.Drawing is a graphics API that provides the capability of 2D drawings identical to GDI+ in your .NET applications.
|
| Modifier and Type | Method and Description |
|---|---|
static Icon |
Icon.extractAssociatedIcon(String filePath)
Returns an icon representation of an image that is contained in the specified file.
|
static Icon |
Icon.fromHandle(byte[] handle)
Creates a GDI+
Icon from the specified Windows handle to an icon (HICON). |
static Icon |
SystemIcons.getApplication()
Gets an
Icon object that contains the default application icon (WIN32: IDI_APPLICATION). |
static Icon |
SystemIcons.getAsterisk()
Gets an
Icon object that contains the system asterisk icon (WIN32: IDI_ASTERISK). |
static Icon |
SystemIcons.getError()
Gets an
Icon object that contains the system error icon (WIN32: IDI_ERROR). |
static Icon |
SystemIcons.getExclamation()
Gets an
Icon object that contains the system exclamation icon (WIN32: IDI_EXCLAMATION). |
static Icon |
SystemIcons.getHand()
Gets an
Icon object that contains the system hand icon (WIN32: IDI_HAND). |
static Icon |
SystemIcons.getInformation()
Gets an
Icon object that contains the system information icon (WIN32: IDI_INFORMATION). |
static Icon |
SystemIcons.getQuestion()
Gets an
Icon object that contains the system question icon (WIN32: IDI_QUESTION). |
static Icon |
SystemIcons.getShield()
Gets an Icon object that contains the shield icon.
|
static Icon |
SystemIcons.getWarning()
Gets an
Icon object that contains the system warning icon (WIN32: IDI_WARNING). |
static Icon |
SystemIcons.getWinLogo()
Gets an
Icon object that contains the Windows logo icon (WIN32: IDI_WINLOGO). |
| Modifier and Type | Method and Description |
|---|---|
void |
Graphics.drawIcon(Icon icon,
int x,
int y)
Draws the image represented by the specified
Icon at the specified coordinates. |
void |
Graphics.drawIcon(Icon icon,
Rectangle targetRect)
|
void |
Graphics.drawIconUnstretched(Icon icon,
Rectangle targetRect)
Draws the image represented by the specified
Icon without scaling the image. |
| Constructor and Description |
|---|
Icon(Icon original,
int width,
int height)
Initializes a new instance of the
Icon class and attempts to find a version of the icon that matches the requested size.. |
Icon(Icon original,
Size size)
Initializes a new instance of the
Icon class and attempts to find a version of the icon that matches the requested size. |
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.