How to write colored texts?

2012-07-24
2013-05-28
  • Michael Ribeiro

    Michael Ribeiro - 2012-07-24

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

     
  • 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);

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks