Module Duplex.CanvasPoint

CanvasPoint represents a single position within a Duplex.Canvas - color (table) 8-bit r/g/b values - text (string) button or label text - value (number or table) as defined by the UIComponent

Functions

__init (text, color, val) Initialize the Canvas class
apply (obj) Change visual appearance (text and color)
__tostring () For debug purposes


Functions

__init (text, color, val)
Initialize the Canvas class

Parameters:

  • text (string)
  • color (table)
  • val

    (number or table)

    {int,int,int}
    
apply (obj)
Change visual appearance (text and color)

Parameters:

  • obj (table)
__tostring ()
For debug purposes

Returns:

    (string)
generated by LDoc 1.4.2