TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

struct Edging in Tinman.AddOns.GUI

struct Edging implements IEquatable<Edging>

Public / Constants

Default

Default margin.

public static readonly field Default
type Edging

Zero

Edging with zero spacing at all four edges.

public static readonly field Zero
type Edging

Public / Attributes

Bottom

Spacing at bottom edge, in pixels.

public readonly field Bottom
type int32

Height

Returns the vertical edging (i.e. top plus bottom).

public property Height { get }
type int32
value [>=0] The vertical edging.

Left

Spacing at left edge, in pixels.

public readonly field Left
type int32

Right

Spacing at right edge, in pixels.

public readonly field Right
type int32

Top

Spacing at top edge, in pixels.

public readonly field Top
type int32

Width

Returns the horizontal edging (i.e. left plus right).

public property Width { get }
type int32
value [>=0] The horizontal edging.

Public / Constructors

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 / Methods

Add

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

AddBottom

public method AddBottom (int32 bottom)
type Edging
params bottom

AddLeft

public method AddLeft (int32 left)
type Edging
params left

AddRight

public method AddRight (int32 right)
type Edging
params right

AddTop

public method AddTop (int32 top)
type Edging
params top

Equals

public method Equals (Edging other)
type bool
params other

ToString

public override method ToString ()
type string