Class Margin
public class Margin
extends Object
获取或设置相对于单元格的水印边距(以像素为单位)。
-
Constructor Summary
Constructors
Margin(int top,
int right,
int bottom,
int left)
-
Method Summary
-
Constructor Details
-
Margin
public Margin(int all)
单个参数的构造函数
- Parameters:
all
- 要设置为所有边距的值。
-
Margin
public Margin(int top,
int right,
int bottom,
int left)
四个参数的构造函数
- Parameters:
top
- 上边距值。
right
- 右边距值。
bottom
- 下边距值。
left
- 左边距值。
-
Method Details
-
getLeft
public int getLeft()
获取左边的边距。
-
getRight
public int getRight()
获取右侧边距。
-
getTop
public int getTop()
获取顶部边距。
-
getBottom
public int getBottom()
获取底边距。
-