Packages

 

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

Class LengthRecord



  • public class LengthRecord
    extends VectorPathRecord

    Closed Subpath Length Record Class

    • Constructor Detail

      • LengthRecord

        public LengthRecord(byte[] data)

        Initializes a new instance of the LengthRecord class.

        Parameters:
        data - The record data.
        Throws:
        PsdImageArgumentException - Incorrect data for LengthRecord creation
    • Method Detail

      • isClosed

        public final boolean isClosed()

        Gets a value indicating whether this instance is closed.

        Value: true if this instance is closed; otherwise, false.
        Returns:
        a value indicating whether this instance is closed.
      • setClosed

        public final void setClosed(boolean value)

        Sets a value indicating whether this instance is closed.

        Value: true if this instance is closed; otherwise, false.
        Parameters:
        value - a value indicating whether this instance is closed.
      • isOpen

        public final boolean isOpen()

        Gets a value indicating whether this instance is open.

        Value: true if this instance is open; otherwise, false.
        Returns:
        a value indicating whether this instance is open.
      • setOpen

        public final void setOpen(boolean value)

        Sets a value indicating whether this instance is open.

        Value: true if this instance is open; otherwise, false.
        Parameters:
        value - a value indicating whether this instance is open.
      • getType

        public short getType()

        Gets the type.

        Value: The type.
        Specified by:
        getType in class VectorPathRecord
        Returns:
        the type.