jStage.UIActor

Description

A specialized jStage.RectangleActor that contains methods and properties for UI operations; text output, strokes, fills, alignments, etc.

Hierarchy

Function List

Function Documentation

UIActor(base, width, height)constructor

Parameters

base:Another Actor upon which to 'base' this one (in the scene graph). A properly implemented jStage game will use a jStage.Stage as the base of the scene graph, so this parameter should not be null or undefined.

width:The width, in pixels, of this UIActor.

height:The width, in pixels, of this UIActor.