Background color of text

"Poul Riis" <Poul.Riis-pIBpe43/vk1knbxzx/[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
How can I control the background color of some text in a label (see
example below - I would like a white background).

Poul Riis


from visual.graph import *

pgraph = gdisplay(title='p vs t', xtitle='t (s)', ytitle='p (Pa)', x=0,
y=0, xmax=100, ymax=20, width=500, height=215,foreground=color.black,
background=color.white)
label(display=pgraph.display, pos=(20,10), text="Some
text",color=color.red)

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl

_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.