How to write colored texts?

  • Hello,
    any one knows how to change the color of a Font with this library? Would like to write colored text.


  • Anonymous

    Well, if you managed to write text (ICSDevice.textShow), you should easily find a flock of methods named "setStrokeColor" and "setNonStrokeColor". "stroke" is the outline, "non-stroke" the fill. More information about the drawing primitives and the color model is available in the spec. Feel free to try…

  • Thanks for the hint.
    I discovered how it works.

    xxx.setNonStrokeColorRGB(159/256, 194/256, 4/256);