Table of Contents

Class BorderBox

Namespace
RichHudFramework.UI
Assembly
RichHudClient.dll

A UI element that renders a textured frame. Supports coloring, transparency, texture alignment/scaling, and masking.

public class BorderBox : HudElementBase, IReadOnlyHudElement, IReadOnlyHudNode, IReadOnlyHudParent
Inheritance
BorderBox
Implements
Inherited Members

Constructors

BorderBox()

public BorderBox()

BorderBox(HudParentBase)

public BorderBox(HudParentBase parent)

Parameters

parent HudParentBase

Properties

Color

Gets or sets the tint color applied to the texture.

Note: Alpha affects opacity.

public Color Color { get; set; }

Property Value

Color

MatAlignment

Determines how the texture is scaled and positioned within the element's bounds (e.g., stretch to fit, preserve aspect ratio, etc.).

public MaterialAlignment MatAlignment { get; set; }

Property Value

MaterialAlignment

Material

Gets or sets the texture material applied to the background of this element.

public Material Material { get; set; }

Property Value

Material

Thickness

Size of the border on all four sides in

public float Thickness { get; set; }

Property Value

float