shapers/Shaper

Source: Shaper.js:32

File : shapers/Shaper.js
Created : 13/04/2015
By : Francesc Busquets francesc@gmail.com

JClic.js
An HTML5 player of JClic activities
https://projectestac.github.io/jclic.js

  • License: EUPL-1.2

Other

Shaper

The function of this class and its subclasses is to draw a set of "shapes" that will be used to
place ActiveBox objects at a specific position, and to determine its dimension and
appearance.

Parameters

  • nx (number) — Number of columns (in grid-based shapers)
  • ny (number) — Number of rows (in grid-based shapers)