Packages

 

com.aspose.cad.xmp.schemas.photoshop

Class Layer

  • All Implemented Interfaces:
    IXmpType, com.aspose.ms.System.IEquatable<Layer>


    public class Layer
    extends XmpTypeBase
    implements com.aspose.ms.System.IEquatable<Layer>

    Represents Photoshop text layer.

    • Constructor Summary

      Constructors 
      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.
    • Constructor Detail

      • Layer

        public Layer(String layerName,
             String layerText)

        Initializes a new instance of the Layer class.

        Parameters:
        layerName - Name of the layer.
        layerText - The layer text.
      • Layer

        public Layer()

        Initializes a new instance of the Layer class.

    • Method Detail

      • getName

        public String getName()

        Gets or sets the name of the text layer.

        Returns:
        The name of the text layer.
      • setName

        public void setName(String value)

        Gets or sets the name of the text layer.

        Parameters:
        value - The name of the text layer.
      • getText

        public String getText()

        Gets or sets the text content of the layer.

        Returns:
        The text content of the layer.
      • setText

        public void setText(String value)

        Gets or sets the text content of the layer.

        Parameters:
        value - The text content of the layer.
      • equals

        public boolean equals(Object obj)

        Determines whether the specified System.Object, is equal to this instance.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<Layer>
        Overrides:
        equals in class Object
        Parameters:
        obj - The System.Object to compare with this instance.
        Returns:
        true if the specified System.Object is equal to this instance; otherwise, false.
      • equals

        public boolean equals(Layer other)

        Indicates whether the current object is equal to another object of the same type.

        Parameters:
        other - An object to compare with this object.
        Returns:
        true if the current object is equal to the other parameter; otherwise, false.
      • hashCode

        public int hashCode()

        Returns a hash code for this instance.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.