public static enum HemfPlusImage.EmfPlusPixelFormat extends java.lang.Enum<HemfPlusImage.EmfPlusPixelFormat>
Enum Constant and Description |
---|
ARGB_32BPP |
ARGB_64BPP |
ARGB1555_16BPP |
GRAYSCALE_16BPP |
INDEXED_1BPP |
INDEXED_4BPP |
INDEXED_8BPP |
PARGB_32BPP |
PARGB_64BPP |
RGB_24BPP |
RGB_32BPP |
RGB_48BPP |
RGB555_16BPP |
RGB565_16BPP |
UNDEFINED |
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerPixel()
The total number of bits per pixel.
|
int |
getGDIEnumIndex()
The pixel format enumeration index.
|
boolean |
isAlpha()
If set, the pixel format includes an alpha transparency component.
|
boolean |
isCanonical()
If set, the pixel format is "canonical", which means that 32 bits per pixel are
supported, with 24-bits for color components and an 8-bit alpha channel.
|
boolean |
isExtendedColors()
If set, the pixel format supports extended colors in 16-bits per channel.
|
boolean |
isGDISupported()
If set, the pixel format is supported in Windows GDI.
|
boolean |
isPaletteIndexed()
If set, the pixel values are indexes into a palette.
|
boolean |
isPreMultiplied()
If set, each color component in the pixel has been premultiplied by the pixel's alpha transparency value.
|
static HemfPlusImage.EmfPlusPixelFormat |
valueOf(int id) |
static HemfPlusImage.EmfPlusPixelFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HemfPlusImage.EmfPlusPixelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HemfPlusImage.EmfPlusPixelFormat UNDEFINED
public static final HemfPlusImage.EmfPlusPixelFormat INDEXED_1BPP
public static final HemfPlusImage.EmfPlusPixelFormat INDEXED_4BPP
public static final HemfPlusImage.EmfPlusPixelFormat INDEXED_8BPP
public static final HemfPlusImage.EmfPlusPixelFormat GRAYSCALE_16BPP
public static final HemfPlusImage.EmfPlusPixelFormat RGB555_16BPP
public static final HemfPlusImage.EmfPlusPixelFormat RGB565_16BPP
public static final HemfPlusImage.EmfPlusPixelFormat ARGB1555_16BPP
public static final HemfPlusImage.EmfPlusPixelFormat RGB_24BPP
public static final HemfPlusImage.EmfPlusPixelFormat RGB_32BPP
public static final HemfPlusImage.EmfPlusPixelFormat ARGB_32BPP
public static final HemfPlusImage.EmfPlusPixelFormat PARGB_32BPP
public static final HemfPlusImage.EmfPlusPixelFormat RGB_48BPP
public static final HemfPlusImage.EmfPlusPixelFormat ARGB_64BPP
public static final HemfPlusImage.EmfPlusPixelFormat PARGB_64BPP
public static HemfPlusImage.EmfPlusPixelFormat[] values()
for (HemfPlusImage.EmfPlusPixelFormat c : HemfPlusImage.EmfPlusPixelFormat.values()) System.out.println(c);
public static HemfPlusImage.EmfPlusPixelFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static HemfPlusImage.EmfPlusPixelFormat valueOf(int id)
public int getGDIEnumIndex()
public int getBitsPerPixel()
public boolean isPaletteIndexed()
public boolean isGDISupported()
public boolean isAlpha()
public boolean isPreMultiplied()
public boolean isExtendedColors()
public boolean isCanonical()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.