PsdLayer
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage
public final class PsdLayer extends CustomPackage
Represents a layer in a PSD file.
Learn more
| Method | Description |
|---|---|
| getBitsPerPixel() | Gets the bits per pixel value. |
| getChannelCount() | Gets the number of channels. |
| getFlags() | Gets the layer flags. |
| getLength() | Gets the overall layer length in bytes. |
| getOpacity() | Gets the layer opacity. |
| getTop() | Gets the top layer position. |
| getLeft() | Gets the left layer position. |
| getBottom() | Gets the bottom layer position. |
| getRight() | Gets the right layer position. |
| getHeight() | Gets the height. |
| getWidth() | Gets the width. |
| getName() | Gets the layer name. |
public final int getBitsPerPixel()
Gets the bits per pixel value.
Returns: int - The bits per pixel value.
public final int getChannelCount()
Gets the number of channels.
Returns: int - The number of channels.
public final PsdLayerFlags getFlags()
Gets the layer flags.
Returns: PsdLayerFlags - The flags.
public final long getLength()
Gets the overall layer length in bytes.
Returns: long - The overall layer length in bytes.
public final byte getOpacity()
Gets the layer opacity. 0 = transparent, 255 = opaque.
Returns: byte - The opacity.
public final int getTop()
Gets the top layer position.
Returns: int - The top layer position.
public final int getLeft()
Gets the left layer position.
Returns: int - The left layer position.
public final int getBottom()
Gets the bottom layer position.
Returns: int - The bottom layer position.
public final int getRight()
Gets the right layer position.
Returns: int - The right layer position.
public final int getHeight()
Gets the height.
Returns: int - The height.
public final int getWidth()
Gets the width.
Returns: int - The width.
public final String getName()
Gets the layer name.
Returns: java.lang.String - The layer name.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.