IcoOptions
Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.ImageOptionsBase
public class IcoOptions extends ImageOptionsBase
Créez des fichiers d’images ICO personnalisés pour les icônes d’application sans effort avec notre API, vous permettant de représenter votre logiciel de manière fluide. Notre API prend en charge les trames d’images PNG et BMP avec différentes valeurs de bits par pixel, garantissant polyvalence et compatibilité pour vos besoins de création d’icônes.
Constructeurs
| Constructeur | Description |
|---|---|
| IcoOptions() | Initialise une nouvelle instance de la classe IcoOptions avec le format de trame ICO égal à Png et bitsPerPixel égal à 32. |
| IcoOptions(IcoOptions options) | |
| IcoOptions(long format) | Initialise une nouvelle instance de la classe IcoOptions avec le format de trame ICO égal à [format] et bitsPerPixel égal à 32. |
| IcoOptions(long format, int bitsPerPixel) | Initialise une nouvelle instance de la classe IcoOptions. |
Méthodes
| Méthode | Description |
|---|---|
| getFormat() | Obtient le format de trame ICO. |
| setFormat(long value) | Définit le format de trame ICO. |
| getBitsPerPixel() | Obtient la valeur bits-par-pixel. |
| setBitsPerPixel(int value) | Définit la valeur bits-par-pixel. |
IcoOptions()
public IcoOptions()
Initialise une nouvelle instance de la classe IcoOptions avec le format de trame ICO égal à Png et bitsPerPixel égal à 32.
IcoOptions(IcoOptions options)
public IcoOptions(IcoOptions options)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| options | IcoOptions |
IcoOptions(long format)
public IcoOptions(long format)
Initialise une nouvelle instance de la classe IcoOptions avec le format de trame ICO égal à [format] et bitsPerPixel égal à 32.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| format | long | Le format de trame ICO. Notez que l’image ICO ne prend en charge que les images FileFormat.Png et FileFormat.Bmp comme entrées. |
IcoOptions(long format, int bitsPerPixel)
public IcoOptions(long format, int bitsPerPixel)
Initialise une nouvelle instance de la classe IcoOptions.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| format | long | Le format de trame ICO. Notez que l’image ICO ne prend en charge que les images FileFormat.Png et FileFormat.Bmp comme entrées. |
| bitsPerPixel | int | La valeur bits-par-pixel. |
getFormat()
public final long getFormat()
Obtient le format de trame ICO.
Returns: long - le format de trame ICO.
setFormat(long value)
public final void setFormat(long value)
Définit le format de trame ICO.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| valeur | long | le format de trame ICO. |
getBitsPerPixel()
public final int getBitsPerPixel()
Obtient la valeur bits-par-pixel.
Returns: int - la valeur bits-par-pixel.
setBitsPerPixel(int value)
public final void setBitsPerPixel(int value)
Définit la valeur bits-par-pixel.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| valeur | int | la valeur bits-par-pixel. |