qc.Color#toNumber

Prototype

  • void toNumber(boolean alpha:boolean);

Description

Convert a Color to int.

Sample

    var c = new qc.Color('#ffffff');

    // output: 0xffffff
    c.toNumber();