Class BoxLayout

    • Constructor Detail

      • BoxLayout

        public BoxLayout()
      • BoxLayout

        public BoxLayout​(float cellWidth,
                         float cellHeight,
                         Alignment alignment)
        Parameters:
        cellWidth - optional cell width, zero for none
        cellHeight - optional cell height, zero for none
        alignment -
      • BoxLayout

        public BoxLayout​(float cellWidth,
                         float cellHeight,
                         Margin margin)
        Parameters:
        cellWidth - optional cell width, zero for none
        cellHeight - optional cell height, zero for none
        margin - scaled Margin is applied unscaled and ignored with only center Alignment w/o additional scaling
      • BoxLayout

        public BoxLayout​(float cellWidth,
                         float cellHeight,
                         Padding padding)
        Parameters:
        cellWidth - optional cell width, zero for none
        cellHeight - optional cell height, zero for none
        padding - unscaled Padding applied to each via Shape.setPaddding(Padding) and is scaled if Alignment.Bit.Fill
      • BoxLayout

        public BoxLayout​(float cellWidth,
                         float cellHeight,
                         Margin margin,
                         Padding padding)
        Parameters:
        cellWidth - optional cell width, zero for none
        cellHeight - optional cell height, zero for none
        margin - scaled Margin is applied unscaled and ignored with only center Alignment w/o additional scaling
        padding - unscaled Padding applied to each via Shape.setPaddding(Padding) and is scaled if Alignment.Bit.Fill
      • BoxLayout

        public BoxLayout​(float cellWidth,
                         float cellHeight,
                         Alignment alignment,
                         Margin margin)
        Parameters:
        cellWidth - optional cell width, zero for none
        cellHeight - optional cell height, zero for none
        margin - scaled Margin is applied unscaled
      • BoxLayout

        public BoxLayout​(float cellWidth,
                         float cellHeight,
                         Alignment alignment,
                         Padding padding)
        Parameters:
        cellWidth - optional cell width, zero for none
        cellHeight - optional cell height, zero for none
        alignment -
        padding - unscaled Padding applied to each via Shape.setPaddding(Padding) and is scaled if Alignment.Bit.Fill
      • BoxLayout

        public BoxLayout​(float cellWidth,
                         float cellHeight,
                         Alignment alignment,
                         Margin margin,
                         Padding padding)
        Parameters:
        cellWidth - optional cell width, zero for none
        cellHeight - optional cell height, zero for none
        alignment -
        margin - scaled Margin is applied unscaled and ignored with only center Alignment w/o additional scaling
        padding - unscaled Padding applied to each via Shape.setPaddding(Padding) and is scaled if Alignment.Bit.Fill