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

KonstruktorBeschreibung
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

MethodeBeschreibung
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:

ParameterTypBeschreibung
optionsIcoOptions

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:

ParameterTypBeschreibung
formatlongDas 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:

ParameterTypBeschreibung
formatlongDas ICO‑Frame‑Format. Hinweis: Das ICO‑Bild unterstützt nur FileFormat.Png und FileFormat.Bmp Bilder als Einträge.
bitsPerPixelintDer 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:

ParameterTypBeschreibung
Wertlongdas 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:

ParameterTypBeschreibung
Wertintder Bits‑pro‑Pixel‑Wert.