public final class PsdLayerFlags extends Object implements IEnumValue
The Photoshop layer flags.
Modifier and Type | Field and Description |
---|---|
static PsdLayerFlags |
HasUsefulInformation
Defines if bit 4 has useful information.
|
static PsdLayerFlags |
None
No flags are set.
|
static PsdLayerFlags |
Obsolete
The obsolete flag.
|
static PsdLayerFlags |
PixelDataIrrelevantToAppearanceInDocument
The pixel data is irrelevant to appearance in a document.
|
static PsdLayerFlags |
TransparencyProtected
The transparency protected flag.
|
static PsdLayerFlags |
Undocumented
An undocumented flag.
|
static PsdLayerFlags |
Visible
The visibility flag.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static PsdLayerFlags |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
int |
hashCode() |
String |
name()
Returns the name of this enumeration value.
|
public static final PsdLayerFlags None
No flags are set.
public static final PsdLayerFlags TransparencyProtected
The transparency protected flag.
public static final PsdLayerFlags Visible
The visibility flag.
public static final PsdLayerFlags Obsolete
The obsolete flag.
public static final PsdLayerFlags HasUsefulInformation
Defines if bit 4 has useful information. 1 for Photoshop 5.0 and later,
public static final PsdLayerFlags PixelDataIrrelevantToAppearanceInDocument
The pixel data is irrelevant to appearance in a document.
public static final PsdLayerFlags Undocumented
An undocumented flag.
public static PsdLayerFlags getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValue
Returns the array of all values defined in the class.
getAllValues
in interface IEnumValue
public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValue
Returns the enumeration value by the raw value associated with it.
getEnumValueByRawValue
in interface IEnumValue
rawValue
- The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValue
Returns the enumeration value by its name.
getEnumValueByName
in interface IEnumValue
name
- The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValue
Returns the underlying type of the raw value of this enumeration value.
getRawValueType
in interface IEnumValue
public int getRawValue()
IEnumValue
Returns the raw value of this enumeration value.
getRawValue
in interface IEnumValue
public String name()
IEnumValue
Returns the name of this enumeration value.
name
in interface IEnumValue