public final class PsdLayer extends Object implements IMetadataProperty
Represents layer in PsdFormat
.
GroupDocs.Metadata.IMetadataProperty
Constructor and Description |
---|
PsdLayer()
Initializes a new instance of the
PsdLayer class. |
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerPixel()
Gets the bits per pixel.
|
int |
getBottom()
Gets the bottom.
|
int |
getChannelsCount()
Gets the number of channels.
|
byte |
getFlags()
Gets the layer flags.
|
String |
getFormattedValue()
Gets the formatted value.
|
int |
getHeight()
Gets the height.
|
int |
getLeft()
Gets the left.
|
long |
getLength()
Gets the overall layer length in bytes.
|
String |
getName()
Gets or sets property name.
|
byte |
getOpacity()
Gets or sets the layer opacity.
|
int |
getRight()
Gets the right.
|
int |
getTop()
Gets the top.
|
int |
getWidth()
Gets the width.
|
void |
setName(String value)
Gets or sets property name.
|
void |
setOpacity(byte value)
Gets or sets the layer opacity.
|
String |
toString()
Returns a
System.String that represents this instance. |
public final int getBitsPerPixel()
Gets the bits per pixel.
Value: The bits per pixel.public final int getChannelsCount()
Gets the number of channels.
Value: The channels count.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.
Value: The flags.public final long getLength()
Gets the overall layer length in bytes.
Value: The length.public final byte getOpacity()
Gets or sets the layer opacity. 0 = transparent, 255 = opaque.
Value: The opacity.public final void setOpacity(byte value)
Gets or sets the layer opacity. 0 = transparent, 255 = opaque.
Value: The opacity.public final int getTop()
Gets the top.
Value: The top.public final int getLeft()
Gets the left.
Value: The left.public final int getBottom()
Gets the bottom.
Value: The bottom.public final int getRight()
Gets the right.
Value: The right.public final int getHeight()
Gets the height.
Value: The height.public final int getWidth()
Gets the width.
Value: The width.public final String getName()
Gets or sets property name.
Value: Property name.getName
in interface IMetadataProperty
public final void setName(String value)
Gets or sets property name.
Value: Property name.setName
in interface IMetadataProperty
public final String getFormattedValue()
Gets the formatted value.
getFormattedValue
in interface IMetadataProperty
Copyright © 2017. All rights reserved.