Class: PlotBody

PlotBody()

new PlotBody()

Plot body (Center portion surrounded by axis) with grid

Source:

Extends

Methods

_rebuildLists()

Rebuild lists for this drawable and notify any parent drawable to do so as well. This ensures each drawable contains an updated, flat list of all the drawables beneath them. This way we save performance by not recursing through each child during draw time, and instead, drawing from the flat list at the level we care about.

Inherited From:
Source:

add(children)

Add a child drawable to this instance

Parameters:
Name Type Description
children Array.<Drawable> | Drawable

child drawables to add

Inherited From:
Source:

computeClipping()

Compute viewport and scissor regions, taking into account borders and scrollbars

Inherited From:
Source:

draw()

This method should be called by all subclasses, as it sets the gl viewport and scissor.

Inherited From:
Source:

remove(children)

Remove a child drawable from this instance

Parameters:
Name Type Description
children Array.<Drawable> | Drawable

child drawables to remove

Inherited From:
Source:

Type Definitions

Options

Options provided by DrawRegion.Options and MajorMinorRule are used to create a plotBody

Source: