How to write colored texts?

  • Michael Ribeiro

    Michael Ribeiro - 2012-07-24

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

  • Anonymous

    Anonymous - 2012-07-25

    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…

  • Michael Ribeiro

    Michael Ribeiro - 2012-07-28

    Thanks for the hint.
    I discovered how it works.

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


Log in to post a comment.