Page 1 of 1

Transparent background in Canvas TEXT fill [SOLVED]

Posted: 18 Feb 2015 14:41
by Softcore
Try inserting text in anything else than black background in a Canvas object (for example on top of a color filled path).

The text has in fact black background making the whole concept of using text in canvas quite unuseable (for example if you want create a set of buttons with text labels over them).

Any chance of making it actual text with no surrounding black in future updates? Thanks!

Re: Transparent background in Canvas TEXT fill

Posted: 18 Feb 2015 14:49
by Softcore
Here's what I mean! ;)

Re: Transparent background in Canvas TEXT fill

Posted: 21 Feb 2015 04:08
by Macciza
Hmm
How are you doing it?
I have text sitting over Pads, and filled Rects that looks fine . . .
LemText.tiff
LemText.tiff (10.76KiB)Viewed 5954 times
LemText.jpg
LemText.jpg (13.53KiB)Viewed 5944 times

Re: Transparent background in Canvas TEXT fill

Posted: 21 Feb 2015 08:25
by Softcore
perhaps I was too hasty on this one? I havent actually sent the template to iPad - the image is a screen capture from the Windows editor. Perhaps when sent to iPad it is "drawn" correctly?

(also, I cant see your attached file and I dont know why, in fact I've never actually seen any .tiff attachements in this forum, perhaps a windows problem? not sure )

Anyway, here's how I do it - see if you can spot any problems - thanks!

Re: Transparent background in Canvas TEXT fill

Posted: 21 Feb 2015 11:20
by Macciza
Hi
Looks fine on Mac editor
Looks fine on iPad
Must be a PC thing . . .

Re: Transparent background in Canvas TEXT fill

Posted: 21 Feb 2015 11:43
by Softcore
OOOoohh I didnt even think of sending it to iPad and check - Will do and report back!

Re: Transparent background in Canvas TEXT fill [SOLVED]

Posted: 22 Feb 2015 10:14
by Softcore
Allright - just checked - works fine on iPad so I dont really care how it shows in dekstop editor.

By the way, it does display correctly (no black background) in my PC - the screen capture was from laptop. Probably different graphics card drivers-configuration.

Re: Transparent background in Canvas TEXT fill [SOLVED]

Posted: 23 Feb 2015 17:37
by midimockup
Another weird PC-only Editor glitch is that canvas_clearRect clears the entire canvas on the editor but looks fine on the iPad.

MOH