Description

Can crop an image to use independently. Useful for creating patterns in HTML5

Usage

Parameters

  • id {String}

    Image id

  • x {Integer}

    Position X

  • y {Integer}

    Position Y

  • w {Integer}

    Width

  • h {Integer}

    height

Returns

HTML5Canvas

Discussion