draw_brush

0th

Percentile

Draw the brush rectangle

Draw a rectangle with a spot according to the information in the meta data.

Usage
draw_brush(layer, painter, data, meta)
Arguments
layer,painter
the painter of the layer on which to draw the brush
data
the data created by qdata; a brush object is in brush(data); the color and line width of the brush are stored in this object
meta
the meta data (has a least these two components: meta$pos and meta$brush.size)
Value

NULL

Aliases
  • draw_brush
Examples
## see the source code of, e.g., qbar() for its usage
Documentation reproduced from package cranvas, version 0.8.5, License: GPL

Community examples

Looks like there are no examples yet.