Class Fz2D.Gui.Label
| Defined in: | src/scene/objects/gui/label.coffee |
| Inherits: | Fz2D.Object |
Overview
Instance Method Summary
- ::constructor(text, x, y, font) Constructor
- ::dec(amount = 1) Decrements the value by a given amount.
- ::draw(ctx) Draw label on every frame.
- ::inc(amount = 1) Increments the value by a given amount.
- ::is(text) Determines if the text is equal to a user provided text.
- ::setFormat(format) Sets the format.
- ::setText(text) Sets the text.
- ::toInt() Returns the value as an int.
- ::update(timer, input) Updates label on every frame.
Inherited Method Summary
Methods inherited from Fz2D.Object
.constructor, .kill, .reset, .show, .hide, .draw, .update
Constructor Details
Instance Method Details
::dec(amount = 1) Source
::draw(ctx) Source
::inc(amount = 1) Source
::is(text) Source
::setFormat(format) Source
::setText(text) Source
::toInt() Source
::update(timer, input) Source