Interface HPGLPenSequence.Holder

    • Method Detail

      • newHPGLPenSequence

        default HPGLPenSequence newHPGLPenSequence​(int initialCapacity)
        Adds a new HPGL Pen Sequence. (see HPGLPenSequence)
        Parameters:
        initialCapacity - the initial capacity for the new HPGL Pen Sequence
        Returns:
        the newly created HPGLPenSequence.
      • ensureHPGLPenSequence

        default HPGLPenSequence ensureHPGLPenSequence​(int initialCapacity)
        Adds a new HPGL Pen Sequence (see HPGLPenSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
        Parameters:
        initialCapacity - the initial capacity (see ArrayList(int)) if a new HPGL Pen Sequence is created.
        Returns:
        either the already existing HPGL Pen Sequence (see HPGLPenSequence) or a new one with capacity initialCapacity.
      • containsHPGLPenSequence

        default boolean containsHPGLPenSequence()
        Returns:
        whether it contains the HPGL Pen Sequence (see HPGLPenSequence)
      • removeHPGLPenSequence

        default void removeHPGLPenSequence()
        Removes the HPGL Pen Sequence (see HPGLPenSequence