Table of Contents

Class Area

Namespace
UILib.Components
Assembly
UILib.dll

A blank area, does nothing special.

public class Area : UIComponent
Inheritance
Area
Derived
Inherited Members

Constructors

Area()

Initializes an area.

public Area()

Area(float, float, FillType)

Initializes an area with a given size and fill.

public Area(float width = 0, float height = 0, FillType fillType = FillType.None)

Parameters

width float
height float
fillType FillType

Methods

SetThisTheme(Theme)

Allows setting the theme of this area. Does nothing.

This handles setting the theme specifically for this component, not its children. It's protected to allow overriding if you were to create a subclass.

In most cases, you'd probably want to use SetTheme(Theme) instead.

protected override void SetThisTheme(Theme theme)

Parameters

theme Theme

The theme to apply