public class Margins extends Region
Constructor and Description |
---|
Margins()
Creates a new margins instance with 0 values for all sides.
|
Margins(int margin)
Creates a new margins instance.
|
Margins(int top,
int right,
int bottom,
int left)
Creates a new margin instance.
|
public Margins()
public Margins(int margin)
margin
- the margin value for all 4 sides.public Margins(int top, int right, int bottom, int left)
top
- the top marginright
- the right marginbottom
- the bottom marginleft
- the left marginCopyright © 2018. All rights reserved.