Skip to content

BorderRepresentation: Add BackgroundRGBA method

This MR is the followup of a previous very similar merge request which implemented the same method in vtkTextProperty (!7603 (merged)).

This MR adds:

  • SetBackgroundRGBA methods to vtkBorderRepresentation
  • SetPadding method to vtkTextRepresentation
  • Fix the way that the padding interacts with the actual text location.

Both of them are needed for paraview/paraview!4539 (merged)

Due to some changes in the codebase, we were needed to change the way that we display the background from the actual text background to the area inclosed by the annotation border.

Edited by Vicente Bolea

Merge request reports