[vtkusers] set caption leader color?
Maxwell, Thomas P. (GSFC-606.2)[SCIENCE SYSTEMS AND APPLICATIONS INC]
thomas.maxwell at nasa.gov
Wed Aug 15 20:40:19 EDT 2012
Thanks, Alex, but I tried this and it only sets the properties of the
caption text- it does not affect the border and the leader. I also tried
setting the attributes of the BorderProperty associated with the
vtkCaptionRepresentation, but that seems to have no effect.
-- Tom
On 8/15/12 7:25 PM, "Alex Malyushytskyy" <alexmalvtk at gmail.com> wrote:
> vtkSmartPointer<vtkTextProperty> textprop =
>vtkSmartPointer<vtkTextProperty>::New();
> textprop->BoldOff();
> textprop->SetFontSize( 18 );
> textprop->SetFontFamilyToTimes();
> textprop->SetColor(0, 0, 0);
>
>aptionActor2D()->SetCaptionTextProperty( textprop );
>
More information about the vtkusers
mailing list