Class Padding


  • public class Padding
    extends Region
    Represents 4-side padding.
    • Constructor Detail

      • Padding

        public Padding()
        Creates a new padding instance with 0 values for all sides.
      • Padding

        public Padding​(int padding)
        Creates a new padding instance.
        Parameters:
        padding - the padding value for all 4 sides.
      • Padding

        public Padding​(int top,
                       int right,
                       int bottom,
                       int left)
        Creates a new padding instance.
        Parameters:
        top - the top padding
        right - the right padding
        bottom - the bottom padding
        left - the left padding