Class Margin
public class Margin
extends Object
Gets or sets the watermark margin in pixels relative to the cell.
-
Constructor Summary
Constructors
Constructor for one argument
Margin(int top,
int right,
int bottom,
int left)
Constructor for four arguments
-
Method Summary
-
Constructor Details
-
Margin
public Margin(int all)
Constructor for one argument
- Parameters:
all
- The value to set for all margins.
-
Margin
public Margin(int top,
int right,
int bottom,
int left)
Constructor for four arguments
- Parameters:
top
- The top margin value.
right
- The right margin value.
bottom
- The bottom margin value.
left
- The left margin value.
-
Method Details
-
getLeft
public int getLeft()
Gets left margin.
-
getRight
public int getRight()
Gets right margin.
-
getTop
public int getTop()
Gets top margin.
-
getBottom
public int getBottom()
Gets bottom margin.
-