Packages

 

com.aspose.imaging.fileformats.core.vectorpaths

Class LengthRecord



  • public class LengthRecord
    extends VectorPathRecord

    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:
        com.aspose.internal.coreexceptions.imageformats.PsdImageArgumentException - Incorrect data for LengthRecord creation
      • LengthRecord

        public LengthRecord()

        Initializes a new instance of the LengthRecord class.

    • 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.
      • getRecordCount

        public final int getRecordCount()

        Gets the record count.

        Value: The record count.
        Returns:
        the record count.
      • setRecordCount

        public final void setRecordCount(int value)

        Sets the record count.

        Value: The record count.
        Parameters:
        value - the record count.
      • getType

        public short getType()

        Gets the type.

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

        public final int getBezierKnotRecordsCount()

        Gets the bezier knot records count.

        Returns:
        the bezier knot records count.
      • setBezierKnotRecordsCount

        public final void setBezierKnotRecordsCount(int value)

        Sets the bezier knot records count.

        Parameters:
        value - the bezier knot records count.
      • getPathOperations

        public final int getPathOperations()

        Gets the path operations.

        Returns:
        the path operations.
      • setPathOperations

        public final void setPathOperations(int value)

        Sets the path operations.

        Parameters:
        value - the path operations.
      • getShapeIndex

        public final int getShapeIndex()

        Gets the index of current path shape in layer.

        Returns:
        the index of current path shape in layer.
      • setShapeIndex

        public final void setShapeIndex(int value)

        Sets the index of current path shape in layer.

        Parameters:
        value - the index of current path shape in layer.