Class: Block

markus.elements.Block

Container with additional logic positioning for children

new markus.elements.Block ()

Example
block
 @inlineItems
 @itemsMarginX 10
 @itemsMarginX 10
 @contentW 300
 @contentH 300
 @anchorX .5
 @anchorY .5
   sprite(src=image.png)
   sprite(src=image.png)
   sprite(src=image.png)

Extends

  • PIXI.Container

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

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

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

top v

Positioning the element relative to the top edge of the parent

w number

Short setter for width