You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by Sandro Martini <sa...@gmail.com> on 2009/10/26 13:11:00 UTC

Stroke Color per Text and Drawing elements

Hi to all,
after looking at many High-Resolution Titles I've seen that a little
trick to have them more readable is the ability to change the stroke
color (of the border).
Our Texts have this ability ? By default off, or the same as currently.

For example, a Big Text Title with background white but border black,
so in any case will be readable, etc ...


Also any Drawing (Graphics) elements should have this (and I think it
will have already), right ?


Thanks,
Sandro

Re: Stroke Color per Text and Drawing elements

Posted by Sandro Martini <sa...@gmail.com>.
Hi Greg,
done:

https://issues.apache.org/jira/browse/PIVOT-334

Sandro

Re: Stroke Color per Text and Drawing elements

Posted by Greg Brown <gk...@mac.com>.
Sure. I think it is probably more useful to the Text shape than Label,  
so I would probably describe it as "Support stroke property in Text  
shape".


On Oct 26, 2009, at 9:01 AM, Sandro Martini wrote:

> Hi Greg,
>
>> All drawing shapes (except for Text) currently support this via the  
>> "stroke"
>> property. If we update the Text shape to use glyph vectors (which  
>> we should
>> probably do anyways), we could also support it for drawing text.
> Great, could be useful.
>
> Should I add a ticket in JIRA for this ?
>
> Bye


Re: Stroke Color per Text and Drawing elements

Posted by Sandro Martini <sa...@gmail.com>.
Hi Greg,

> All drawing shapes (except for Text) currently support this via the "stroke"
> property. If we update the Text shape to use glyph vectors (which we should
> probably do anyways), we could also support it for drawing text.
Great, could be useful.

Should I add a ticket in JIRA for this ?

Bye

Re: Stroke Color per Text and Drawing elements

Posted by Greg Brown <gk...@mac.com>.
> Hi to all,
> after looking at many High-Resolution Titles I've seen that a little
> trick to have them more readable is the ability to change the stroke
> color (of the border).
> Our Texts have this ability ? By default off, or the same as  
> currently.

Label doesn't currently support this, but it would be relatively easy  
to do now that we use a GlyphVector to store the rendered characters.

> Also any Drawing (Graphics) elements should have this (and I think it
> will have already), right ?

All drawing shapes (except for Text) currently support this via the  
"stroke" property. If we update the Text shape to use glyph vectors  
(which we should probably do anyways), we could also support it for  
drawing text.