Class DottedLineSeparator

  • All Implemented Interfaces:
    Element, DrawInterface

    public class DottedLineSeparator
    extends LineSeparator
    Element that draws a dotted line from left to right. Can be added directly to a document or column. Can also be used to create a separator chunk.
    Since:
    2.1.2
    • Field Detail

      • gap

        protected float gap
        the gap between the dots.
    • Constructor Detail

      • DottedLineSeparator

        public DottedLineSeparator()
    • Method Detail

      • getGap

        public float getGap()
        Getter for the gap between the center of the dots of the dotted line.
        Returns:
        the gap between the center of the dots
      • setGap

        public void setGap​(float gap)
        Setter for the gap between the center of the dots of the dotted line.
        Parameters:
        gap - the gap between the center of the dots