API Docs for: 6.0.1
Show:

window.scrawl_Wheel Class

window.scrawl

scrawlWheel extension adaptions to the scrawl-canvas library object

Item Index

Methods

Methods

makeWheel

(
  • items
)

A factory function to generate new Wheel entitys

Parameters:

  • items Object

    Key:value Object argument for setting attributes

Returns:

Wheel object

Example:

scrawl.makeWheel({
    radius: 50,
    startX: 150,
    startY: 60,
    fillStyle: 'blue',
    strokeStyle: 'red',
    method: 'drawFill',
    });

newWheel

() deprecated

Alias for makeWheel()

Properties

scrawl.work.workwheel

Vector private

Work vector, for wheel-specific calculations