when i change the color of the note using the method setFillColor:colorCode
and then refresh the page using RenderPrepare and RenderSync methods, my note disappears for some color codes such as 55000,20000,60000.
normally we use hexadecimal notation as 0xFF00D6D8 to set color, as we can manage the opacity and RGB channels easier.
if you try to convert your int value 55000 to hexadecimal notation, you'll get 0xD6D8, that is equal to 0x0000D6D8.
With 0x0000D6D8 the opacity value is 0 and you won't see the color set with setFillColor.
I think that the correct value you're trying to set is 0xFF00D6D8 (4278245080 in int notation).
I suggest to use the hexadecimal notation to set colors (0xAARRGGBB)
The setFillColor method accepts only int value as input.
So i don't understand how will i pass hexadecimal value to it and solve this issue.
Also if not using setFillColor method, then which is an alternative method that can be used to change the color of the note?
If you were able to solve this issue, can you please share the code here?
is not necessary to use hexadecimal notation, but it's necessary to use the correct value.
For example. 55000 won't show a color as it's equivalent to 0x0000D6D8 (0xD6D8) and the opacity is 0; the correct value is something like 4278245080, that is equivalent to 0xFF00D6D8 (value with the correct opacity value).