Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

How to write colored texts?

2012-07-24
2013-05-28
  • 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…

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

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