Class: PaintBox

PaintBox(container, type)

new PaintBox(container, type)

Parameters:
Name Type Description
container string | Element | external:jQuery
type "fill"
Source:

Methods

(static) getPaint(svgCanvas, color, opac, type) → {module:jGraduate~Paint}

Parameters:
Name Type Description
svgCanvas PlainObject
color string
opac Float
type string
Source:
Returns:
Type
module:jGraduate~Paint

setPaint(paint) → {void}

Parameters:
Name Type Description
paint module:jGraduate~Paint
Source:
Returns:
Type
void

update(svgcanvas, selectedElement) → {any}

Parameters:
Name Type Description
svgcanvas PlainObject
selectedElement PlainObject
Source:
Returns:
Type
any