[vtkusers] part of vtkCaptionActor2D is clipped
Yifei Li
yifli82 at gmail.com
Sun Mar 18 11:29:59 EDT 2012
Hi,
I attached an image illustrating my problem.
Here is the relevant code:
actor = vtk.vtkCaptionActor2D()
actor.GetProperty().SetColor( someColor )
actor.GetProperty().SetLineWidth(2.0)
actor.SetCaption(id)
actor.BorderOff()
tprop = actor.GetCaptionTextProperty()
tprop.BoldOn()
tprop.ShadowOff()
Can someone please help me fix this problem? Thanks
Yifei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120318/a8dcef53/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrong_label.png
Type: image/png
Size: 45498 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120318/a8dcef53/attachment.png>
More information about the vtkusers
mailing list