shapers/Holes

Source: Holes.js:32

File : shapers/Holes.js
Created : 20/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

Holes

Extends: module:shapers/Shaper.Shaper

This Shaper consists of a set of arbitrary shapes placed over a main rectangle that
acts as a enclosure.
The components can be of type module:AWT.Rectangle, module:AWT.Ellipse or module:AWT.Path.
This components have internal dimension values relative to the horizontal and vertical
sizes of the enclosure. Its values (always between 0 and 1) must be scaled to real sizes
of graphic objects.

Parameters

  • nx (number) — Not used
  • ny (number) — Not used