[vtkusers] Make text standout against variety of backgrounds(vtkTextActor)
Dave Partyka
dave.partyka at kitware.com
Thu Sep 30 12:44:06 EDT 2010
If you call GetTextProperty on vtkTextActor, the text property has a shadow
option that might help contrast the text better.
http://www.vtk.org/doc/nightly/html/classvtkTextProperty.html
On Thu, Sep 30, 2010 at 12:33 PM, Adam Bruss <abruss at awrcorp.com> wrote:
> Hello fellow VTKUsers,
>
>
>
> I’m using the vtkTextActor to show 2d text on the screen. Sometimes the
> text is hard to read because the objects in the background are colored close
> to the color of the text. For example red text on top of a red object or
> black text on top of a dark blue object. It would be great if I could give
> text an outline in a different color. This would make it stand out.
>
>
>
> So my question is what options does VTK have to make text standout against
> a variety of backgrounds?
>
>
>
> Thanks,
>
> Adam
>
>
>
> Adam Bruss
>
> Development Engineer
>
> AWR Corporation/Simulation Technology & Applied Research
>
> 11520 N. Port Washington Rd., Suite 201
>
> Mequon, WI 53092 USA
>
> P: 1.262.240.0291 x104
>
> F: 1.262.240.0294
>
> E: abruss at awrcorp.com
>
> W: http://www.awrcorp.com
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100930/26b31dbe/attachment.htm>
More information about the vtkusers
mailing list