public class Padding extends Region
Constructor and Description |
---|
Padding()
Creates a new padding instance with 0 values for all sides.
|
Padding(int padding)
Creates a new padding instance.
|
Padding(int top,
int right,
int bottom,
int left)
Creates a new padding instance.
|
public Padding()
public Padding(int padding)
padding
- the padding value for all 4 sides.public Padding(int top, int right, int bottom, int left)
top
- the top paddingright
- the right paddingbottom
- the bottom paddingleft
- the left paddingCopyright © 2018. All rights reserved.