Table of Contents

Struct Spacing

Namespace
BSGameLib.UI.Controls
Assembly
BSGameLib.UI.dll

The space on each of the four sides of a box, in pixels.

public struct Spacing
Inherited Members

Constructors

Spacing(float, float, float, float)

Creates a spacing with the given space on each side, in pixels.

public Spacing(float left, float top, float right, float bottom)

Parameters

left float
top float
right float
bottom float

Properties

Bottom

The space on the bottom.

public readonly float Bottom { get; }

Property Value

float

Left

The space on the left.

public readonly float Left { get; }

Property Value

float

None

No space on any side.

public static Spacing None { get; }

Property Value

Spacing

Right

The space on the right.

public readonly float Right { get; }

Property Value

float

Top

The space on the top.

public readonly float Top { get; }

Property Value

float