Class Insets


  • public class Insets
    extends java.lang.Object
    Value class for storing inset values at top, right, bottom and left
    • Field Detail

      • EMPTY

        public static final Insets EMPTY
    • Constructor Detail

      • Insets

        public Insets​(int inset)
      • Insets

        public Insets​(int vertical,
                      int horizontal)
      • Insets

        public Insets​(int top,
                      int right,
                      int bottom,
                      int left)
    • Method Detail

      • top

        public int top()
      • right

        public int right()
      • bottom

        public int bottom()
      • left

        public int left()
      • extendedWith

        public Insets extendedWith​(int inset)
      • extendedWith

        public Insets extendedWith​(Insets other)