Class Layer
Represents Photoshop text layer.
public class Layer : XmpTypeBase, IXmpType, IEquatable<Layer>
- Inheritance
-
Layer
- Implements
- Inherited Members
Constructors
Layer()
Initializes a new instance of the Layer class.
public Layer()
Layer(string, string)
Initializes a new instance of the Layer class.
public Layer(string layerName, string layerText)
Parameters
Properties
Name
Gets or sets the name of the text layer.
public string Name { get; set; }
Property Value
- string
The name of the text layer.
Text
Gets or sets the text content of the layer.
public string Text { get; set; }
Property Value
- string
The text content of the layer.
Methods
Equals(Layer)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Layer other)
Parameters
other
LayerAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
other
parameter; otherwise, false.
Equals(object)
Determines whether the specified object, is equal to this instance.
public override bool Equals(object obj)
Parameters
Returns
GetHashCode()
Returns a hash code for this instance.
public override int GetHashCode()
Returns
- int
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
GetXmpRepresentation()
Returns string contained value in XMP format.
public override string GetXmpRepresentation()
Returns
- string
Returns string containing xmp representation.