QuadUI 1.2.9 public beta
Run-time API for QuadUI

ResizableBar2D Class Reference

Inheritance diagram for ResizableBar2D:
ComplexComponent2D EventDispatcher

List of all members.

Public Member Functions

void Scale (float percent)

Public Attributes

ScaleAxis axis = ScaleAxis.Horizontal
float minLength = 1
float maxLength = 100
Quad2D cap1
Quad2D cap2
Quad2D bar

Properties

float percentage [get]

Detailed Description

This class is great for progress and health bars. You can change the size of the middle segment (bar) by the function Scale(float percent)


Member Function Documentation

void ResizableBar2D.Scale ( float  percent)

modifies the scale of the middle segment. percent is represented as a float 0 to 1


Member Data Documentation

ScaleAxis ResizableBar2D.axis = ScaleAxis.Horizontal

Property Documentation

float ResizableBar2D.percentage [get]
 All Classes Functions Variables Enumerations Properties