shapers/Rectangular

Source: Rectangular.js:32

File : shapers/Rectangular.js
Created : 19/05/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

Rectangular

Extends: module:shapers/Shaper.Shaper

This is the simplest Shaper. It divides the graphic object in a set of rectangular
shapes distributed in the specified number of rows and columns.

Parameters

  • nx (number) — Number of columns
  • ny (number) — Number of rows