struct
|
Edging
|
implements
|
IEquatable<Edging>
|
Default margin.
public
static
readonly
field
|
Default
|
||
type
|
Edging
|
Edging with zero spacing at all four edges.
public
static
readonly
field
|
Zero
|
||
type
|
Edging
|
Spacing at bottom edge, in pixels.
public
readonly
field
|
Bottom
|
||
type
|
int32
|
Returns the vertical edging (i.e. top plus bottom).
public
property
|
Height
{
get
}
|
||
type
|
int32
|
||
value
|
|
The vertical edging. |
Spacing at left edge, in pixels.
public
readonly
field
|
Left
|
||
type
|
int32
|
Spacing at right edge, in pixels.
public
readonly
field
|
Right
|
||
type
|
int32
|
Spacing at top edge, in pixels.
public
readonly
field
|
Top
|
||
type
|
int32
|
Returns the horizontal edging (i.e. left plus right).
public
property
|
Width
{
get
}
|
||
type
|
int32
|
||
value
|
|
The horizontal edging. |
Creates a new instance of Edging.
public
constructor
|
Edging
(int32 amount)
|
||
params
|
amount
|
[>=0]
|
Spacing at all edge, in pixels. |
Creates a new instance of Edging.
public
constructor
|
Edging
(int32 top,
int32 left,
int32 bottom,
int32 right)
|
||
params
|
top
|
[>=0]
|
Spacing at top edge, in pixels. |
left
|
[>=0]
|
Spacing at left edge, in pixels. | |
bottom
|
[>=0]
|
Spacing at bottom edge, in pixels. | |
right
|
[>=0]
|
Spacing at right edge, in pixels. |
public
method
|
Add
(Edging other)
|
||
type
|
Edging
|
||
params
|
other
|
public
method
|
Add
(int32 top,
int32 left,
int32 bottom,
int32 right)
|
||
type
|
Edging
|
||
params
|
top
|
||
left
|
|||
bottom
|
|||
right
|
public
method
|
AddBottom
(int32 bottom)
|
||
type
|
Edging
|
||
params
|
bottom
|
public
method
|
AddLeft
(int32 left)
|
||
type
|
Edging
|
||
params
|
left
|
public
method
|
AddRight
(int32 right)
|
||
type
|
Edging
|
||
params
|
right
|
public
method
|
AddTop
(int32 top)
|
||
type
|
Edging
|
||
params
|
top
|
public
method
|
Equals
(Edging other)
|
||
type
|
bool
|
||
params
|
other
|
public
override
method
|
ToString
()
|
||
type
|
string
|