Renderer.add_border

Contents

Renderer.add_border#

Renderer.add_border(color='white', width=1.0, edges=None)[source]#

Add borders around the frame.

Parameters:
colorColorLike, default: “white”

Color of the border.

widthfloat, default: 1.0

Width of the border.

edgessequence[str], optional

Which edges of the frame to draw. Any subset of ('top', 'left', 'bottom', 'right'). When None (the default) all four edges are drawn.

Returns:
vtkActor2D

Border actor.