draw_key_point_blur: Key glyphs for legends

Description Usage Arguments Value

View source: R/draw-key-point-blur.R

Description

Each geom has an associated function that draws the key when the geom needs to be displayed in a legend. These functions are called 'draw_key_*()', where '*' stands for the name of the respective key glyph. The key glyphs can be customized for individual geoms by providing a geom with the 'key_glyph' argument (see ['layer()'] or examples below.)

Usage

1
draw_key_point_blur(data, params, size)

Arguments

data

A single row data frame containing the scaled aesthetics to display in this key

params

A list of additional parameters supplied to the geom.

size

Width and height of key in mm.

Value

A grid grob.


coolbutuseless/ggblur documentation built on Feb. 16, 2020, 12:21 a.m.