pyvista.plotting.charts.Brush

class Brush(color='k', texture=None, *, _wrap=None)

Pythonic wrapper for a VTK Brush, used to fill shapes.

Parameters
colorcolor, optional

Fill color of the shapes drawn using this brush. Any color parsable by pyvista.parse_color() is allowed. Defaults to "k".

textureTexture, optional

Texture used to fill shapes drawn using this brush. Any object convertible to a Texture is allowed. Defaults to None.

Other Parameters
_wrapvtk.vtkBrush, optional

Wrap an existing VTK Brush instance. Defaults to None (no wrapping).

Methods

Attributes

Brush.color

Return or set the brush's color.

Brush.texture

Return or set the brush's texture.

Brush.texture_interpolate

Set texture interpolation mode.

Brush.texture_repeat

Return or set the texture repeat mode.