IcoOptions
Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.ImageOptionsBase
public class IcoOptions extends ImageOptionsBase
Erstellen Sie benutzerdefinierte ICO-Bilddateien für Anwendungssymbole mühelos mit unserer API, die es Ihnen ermöglicht, Ihre Software nahtlos darzustellen. Unsere API unterstützt PNG- und BMP-Bildrahmen mit verschiedenen Bits‑pro‑Pixel‑Werten und gewährleistet Vielseitigkeit und Kompatibilität für Ihre Icon‑Erstellungsanforderungen.
Konstruktoren
| Konstruktor | Beschreibung |
|---|---|
| IcoOptions() | Initialisiert eine neue Instanz der IcoOptions Klasse mit dem ICO‑Frame‑Format gleich Png und bitsPerPixel gleich 32. |
| IcoOptions(IcoOptions options) | |
| IcoOptions(long format) | Initialisiert eine neue Instanz der IcoOptions Klasse mit dem ICO‑Frame‑Format gleich [format] und bitsPerPixel gleich 32. |
| IcoOptions(long format, int bitsPerPixel) | Initialisiert eine neue Instanz der IcoOptions Klasse. |
Methoden
| Methode | Beschreibung |
|---|---|
| getFormat() | Liest das ICO‑Frame‑Format. |
| setFormat(long value) | Setzt das ICO‑Frame‑Format. |
| getBitsPerPixel() | Liest den Bits‑pro‑Pixel‑Wert. |
| setBitsPerPixel(int value) | Setzt den Bits‑pro‑Pixel‑Wert. |
IcoOptions()
public IcoOptions()
Initialisiert eine neue Instanz der IcoOptions Klasse mit dem ICO‑Frame‑Format gleich Png und bitsPerPixel gleich 32.
IcoOptions(IcoOptions options)
public IcoOptions(IcoOptions options)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| options | IcoOptions |
IcoOptions(long format)
public IcoOptions(long format)
Initialisiert eine neue Instanz der IcoOptions Klasse mit dem ICO‑Frame‑Format gleich [format] und bitsPerPixel gleich 32.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| format | long | Das ICO‑Frame‑Format. Hinweis: Das ICO‑Bild unterstützt nur FileFormat.Png und FileFormat.Bmp Bilder als Einträge. |
IcoOptions(long format, int bitsPerPixel)
public IcoOptions(long format, int bitsPerPixel)
Initialisiert eine neue Instanz der IcoOptions Klasse.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| format | long | Das ICO‑Frame‑Format. Hinweis: Das ICO‑Bild unterstützt nur FileFormat.Png und FileFormat.Bmp Bilder als Einträge. |
| bitsPerPixel | int | Der Bits‑pro‑Pixel‑Wert. |
getFormat()
public final long getFormat()
Liest das ICO‑Frame‑Format.
Returns: long - das ICO‑Frame‑Format.
setFormat(long value)
public final void setFormat(long value)
Setzt das ICO‑Frame‑Format.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| Wert | long | das ICO‑Frame‑Format. |
getBitsPerPixel()
public final int getBitsPerPixel()
Liest den Bits‑pro‑Pixel‑Wert.
Returns: int - der Bits‑pro‑Pixel‑Wert.
setBitsPerPixel(int value)
public final void setBitsPerPixel(int value)
Setzt den Bits‑pro‑Pixel‑Wert.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| Wert | int | der Bits‑pro‑Pixel‑Wert. |