Class Core.Style

Style Base Class.

The base class used for all Styles.

Properties

.name () [style] get/set name of Style.
.debugOn () [style] set/get value for debug mode.
.width () [style] set/get Style value for Widget width.
.height () [style] set/get Style value for Widget height.
.anchorX () [style] set/get Style value for Widget anchorX.
.anchorY () [style] set/get Style value for Widget anchorY.


Properties

.name ()
[style] get/set name of Style. nil or a string. will put in Style Manager to reference.

Usage:

  • style.name = 'home-images'
  • print( style.name )
.debugOn ()
[style] set/get value for debug mode. implementation depends on Widget.

Usage:

  • style.debugOn = true
  • print( style.debugOn )
.width ()
[style] set/get Style value for Widget width.

Usage:

  • style.width = 100
  • print( style.width )
.height ()
[style] set/get Style value for Widget height.

Usage:

  • style.height = 50
  • print( style.height )
.anchorX ()
[style] set/get Style value for Widget anchorX.

Usage:

  • style.anchorX = 0.5
  • print( style.anchorX )
.anchorY ()
[style] set/get Style value for Widget anchorY.

Usage:

  • style.anchorY = 0.5
  • print( style.anchorY )
generated by LDoc 1.4.3 Last updated 2015-05-14 11:55:05