[]
Initializes a new instance of a Thickness.
public Thickness(int left, int top, int right, int bottom)
Type | Name | Description |
---|---|---|
int | left | Thickness of the left edge, in pixels. |
int | top | Thickness of the top edge, in pixels. |
int | right | Thickness of the right edge, in pixels. |
int | bottom | Thickness of the bottom edge, in pixels. |
Initializes a new instance of a Thickness.
public Thickness(int leftRight, int topBottom)
Type | Name | Description |
---|---|---|
int | leftRight | Thickness of the left and right edges, in pixels. |
int | topBottom | Thickness of the top and bottom edges, in pixels. |
Initializes a new instance of a Thickness.
public Thickness(int width)
Type | Name | Description |
---|---|---|
int | width | Thickness of all edges, in pixels. |