[]
单个参数的构造函数。
public Margin(int all)
| Type | Name | Description |
|---|---|---|
| int | all | 要设置为所有边距的值。 |
四个参数的构造函数。
public Margin(int top, int right, int bottom, int left)
| Type | Name | Description |
|---|---|---|
| int | top | 上边距值。 |
| int | right | 右边距值。 |
| int | bottom | 下边距值。 |
| int | left | 左边距值。 |