Namespace in reactor_ui.js

P

22 public functions in 5 groups · show internal (_) functions

Designing a custom interface.

Quick Reference

Setup & Creation 1

initialize() Sets up a new instance.

Getting Information 5

textHeight() Text height.
valueFontSize() Value font size.
measureLabelWidth() Measure label width.
currentValue() The current value.
currentMaxValue() The current max value.

Checks (True / False) 4

isVariable() Whether it is variable.
isExp() Whether it is exp.
isActorParam() Whether it is actor param.
isValid() Whether it is valid.

Updating & Drawing 3

drawGaugeRect() Draws the gauge rect.
drawLabel() Draws the label.
drawValue() Draws the value.

Other 9

bitmapWidth() Bitmap width.
bitmapHeight() Bitmap height.
gaugeHeight() Gauge height.
labelFontSize() Label font size.
gaugeX() Gauge x.
label() Label.
gaugeBackColor() Gauge back color.
gaugeColor1() Gauge color1.
gaugeColor2() Gauge color2.

Setup & Creation

initialize

static source
P.initialize(node)

Sets up a new instance.

Getting Information

textHeight

static source
P.textHeight()

Text height.

valueFontSize

static source
P.valueFontSize()

Value font size.

measureLabelWidth

static source
P.measureLabelWidth()

Measure label width.

currentValue

static source
P.currentValue()

The current value.

currentMaxValue

static source
P.currentMaxValue()

The current max value.

Checks (True / False)

isVariable

static source
P.isVariable()

Whether it is variable.

isExp

static source
P.isExp()

Whether it is exp.

isActorParam

static source
P.isActorParam()

Whether it is actor param.

isValid

static source
P.isValid()

Whether it is valid.

Updating & Drawing

drawGaugeRect

static source
P.drawGaugeRect(x, y, width, height)

Draws the gauge rect.

drawLabel

static source
P.drawLabel()

Draws the label.

drawValue

static source
P.drawValue()

Draws the value.

Other

bitmapWidth

static source
P.bitmapWidth()

Bitmap width.

bitmapHeight

static source
P.bitmapHeight()

Bitmap height.

gaugeHeight

static source
P.gaugeHeight()

Gauge height.

labelFontSize

static source
P.labelFontSize()

Label font size.

gaugeX

static source
P.gaugeX()

Gauge x.

label

static source
P.label()

Label.

gaugeBackColor

static source
P.gaugeBackColor()

Gauge back color.

gaugeColor1

static source
P.gaugeColor1()

Gauge color1.

gaugeColor2

static source
P.gaugeColor2()

Gauge color2.