API ReferenceSandbox.UI

Boxclass

Represents position and size of a `Sandbox.UI.Panel` on the screen.

objectBox
Namespace
Sandbox.UI
Assembly
Sandbox.Engine
Declaration
public class Sandbox.UI.Box

Constructors1

Showing 1 constructors

public Box()PUBLICCONSTRUCTOR

Properties4

Showing 4 properties

public float Sandbox.UI.Box.Bottom { get; set; }PUBLICGETSET

Position of the bottom edge in screen coordinates.

Returns:float

public float Sandbox.UI.Box.Left { get; set; }PUBLICGETSET

Position of the left edge in screen coordinates.

Returns:float

public float Sandbox.UI.Box.Right { get; set; }PUBLICGETSET

Position of the right edge in screen coordinates.

Returns:float

public float Sandbox.UI.Box.Top { get; set; }PUBLICGETSET

Position of the top edge in screen coordinates.

Returns:float

On this page