public class Layer extends XmpTypeBase implements com.aspose.ms.System.IEquatable<Layer>
Represents Photoshop text layer.
Constructor and Description |
---|
Layer()
Initializes a new instance of the
Layer class. |
Layer(String layerName,
String layerText)
Initializes a new instance of the
Layer class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified
System.Object , is equal to this instance. |
String |
getName()
Gets or sets the name of the text layer.
|
String |
getText()
Gets or sets the text content of the layer.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isEquals(Layer other)
Indicates whether the current object is equal to another object of the same type.
|
void |
setName(String value)
Gets or sets the name of the text layer.
|
void |
setText(String value)
Gets or sets the text content of the layer.
|
public Layer(String layerName, String layerText)
Initializes a new instance of the Layer
class.
layerName
- Name of the layer.layerText
- The layer text.public Layer()
Initializes a new instance of the Layer
class.
public String getName()
Gets or sets the name of the text layer.
Value: The name of the text layer.public void setName(String value)
Gets or sets the name of the text layer.
Value: The name of the text layer.public String getText()
Gets or sets the text content of the layer.
Value: The text content of the layer.public void setText(String value)
Gets or sets the text content of the layer.
Value: The text content of the layer.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpTypeBase
public boolean equals(Object obj)
Determines whether the specified System.Object
, is equal to this instance.
public boolean isEquals(Layer other)
Indicates whether the current object is equal to another object of the same type.
other
- An object to compare with this object.other
parameter; otherwise, false.