@Deprecated public final class PsdLayer extends Object implements IMetadataProperty
Represents layer in PsdFormat
.
IMetadataProperty
Constructor and Description |
---|
PsdLayer()
Deprecated.
Initializes a new instance of the
PsdLayer class. |
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerPixel()
Deprecated.
Gets the bits per pixel.
|
int |
getBottom()
Deprecated.
Gets the bottom.
|
int |
getChannelsCount()
Deprecated.
Gets the number of channels.
|
byte |
getFlags()
Deprecated.
Gets the layer flags.
|
String |
getFormattedValue()
Deprecated.
Gets the formatted value.
|
int |
getHeight()
Deprecated.
Gets the height.
|
int |
getLeft()
Deprecated.
Gets the left.
|
long |
getLength()
Deprecated.
Gets the overall layer length in bytes.
|
String |
getName()
Deprecated.
Gets property name.
|
byte |
getOpacity()
Deprecated.
Gets the layer opacity.
|
int |
getRight()
Deprecated.
Gets the right.
|
int |
getTop()
Deprecated.
Gets the top.
|
int |
getWidth()
Deprecated.
Gets the width.
|
void |
setName(String value)
Deprecated.
Sets property name.
|
void |
setOpacity(byte value)
Deprecated.
Sets the layer opacity.
|
String |
toString()
Deprecated.
Returns a
System.String that represents this instance. |
public PsdLayer()
Initializes a new instance of the PsdLayer
class.
public final int getBitsPerPixel()
Gets the bits per pixel.
public final int getChannelsCount()
Gets the number of channels.
public final byte getFlags()
Gets the layer flags. bit 0 = transparency protected; bit 1 = visible; bit 2 = obsolete; bit 3 = 1 for Photoshop 5.0 and later, tells if bit 4 has useful information; bit 4 = pixel data irrelevant to appearance of document.
public final long getLength()
Gets the overall layer length in bytes.
public final byte getOpacity()
Gets the layer opacity. 0 = transparent, 255 = opaque.
public final void setOpacity(byte value)
Sets the layer opacity. 0 = transparent, 255 = opaque.
value
- The opacity.public final int getTop()
Gets the top.
public final int getLeft()
Gets the left.
public final int getBottom()
Gets the bottom.
public final int getRight()
Gets the right.
public final int getHeight()
Gets the height.
public final int getWidth()
Gets the width.
public final String getName()
Gets property name.
getName
in interface IMetadataProperty
public final void setName(String value)
Sets property name.
setName
in interface IMetadataProperty
value
- Property name.public final String getFormattedValue()
Gets the formatted value.
getFormattedValue
in interface IMetadataProperty
Copyright © 2020. All rights reserved.