Packages

 

com.aspose.imaging.fileformats.psd.layers.layerresources.typetoolinfostructures

Class UnitStructure



  • public final class UnitStructure
    extends OSTypeStructure

    The unit structure.

    • Field Detail

      • STRUCTURE_KEY

        public static final int STRUCTURE_KEY

        Identifies the structure key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • UnitStructure

        public UnitStructure(ClassID keyName)

        Initializes a new instance of the UnitStructure class.

        Parameters:
        keyName - The key name.
    • Method Detail

      • getUnitType

        public int getUnitType()

        Gets or sets the unit type.

        Value: The unit type.
      • setUnitType

        public void setUnitType(int value)
      • getValue

        public double getValue()

        Gets or sets the value.

        Value: The value.
      • setValue

        public void setValue(double value)
      • getLength

        public int getLength()

        Gets the OSTypeStructure length in bytes.

        Specified by:
        getLength in class OSTypeStructure