Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 453 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 453 Bytes

KineticJS.PinchLayer

KineticJS plugin to create a layer, which can be pinched and panned using multitouch. Works also on desktop with drag&drop and mousewheel.

Installation

  • Include file after kinetic.js in HTML

Usage

Example:

var layer = new Kinetic.Plugins.PinchLayer({
	container: stage,
	width: image.getWidth(),
	height: image.getHeight()
});

See also the example folder for a working example.