Class Gap


  • public class Gap
    extends Object
    GraphUI CSS property Gap, spaceing between (grid) cells not belonging to the element. The CSS gap property defines the size of the gap between the rows and columns in a grid layout.
    • Field Detail

      • row

        public final float row
        Row gap value, vertical spacing.
      • column

        public final float column
        Column gap value, horizontal spacing.
    • Constructor Detail

      • Gap

        public Gap()
        Ctor w/ zero values
      • Gap

        public Gap​(float row,
                   float column)
        Ctor
        Parameters:
        row - vertical row value
        column - horizontal column value
      • Gap

        public Gap​(float rc)
        Ctor
        Parameters:
        rc - vertical row and horizontal column value
    • Method Detail

      • width

        public float width()
        Return width of horizontal value, i.e. 1 * column.
      • height

        public float height()
        Return height of vertical value, i.e. 1 * row.
      • zeroSumWidth

        public boolean zeroSumWidth()
      • zeroSumHeight

        public boolean zeroSumHeight()
      • zeroSumSize

        public boolean zeroSumSize()