Class: Text

markus.elements.Text

Implementing PIXI.Text for MarkusJS.

new markus.elements.Text ()

Example
text | SOME TEXT VALUE
  @size 100
  @font Bebas Neue
  @color #fff

Extends

  • PIXI.Text

Mixes In

Members

angle number

Angle in degrees

bottom number

Positioning the element relative to the bottom edge of the parent

centerX number

Positioning the element relative to the horizontal center of the parent

centerXY number

Positioning the element relative to the horizontal and vertical center of the parent

centerY number

Positioning the element relative to the vertical center of the parent

color string

Fill color text

this.contentH number

The height of the area of allowable positions children of the element

this.contentW number

The width of the area of allowable positions children of the element

font string

Font family

h number

Short setter for height

left number

Positioning the element relative to the left edge of the parent

Positioning the element relative to the right edge of the parent

size number

Size text

top v

Positioning the element relative to the top edge of the parent

w number

Short setter for width