Skip to content
Patrizio Amella edited this page Mar 17, 2021 · 3 revisions

There are two types of canvas : Array2d and ArrayOfA.

Array2d canvas can be used on all but the polar maze, only ArrayOfA canvas can be used for a polar maze.

s-rectangle

  • Array2d type
  -r, --rows       Required. The number of rows.

  -c, --columns    Required. The number of columns.

s-triangle

  • Array2d type
  -b, --base           Required. The length of the base.

  --baseat             (Default: 0) The position of the base Bottom, Top, Left or Right.

  --basedecrement      (Default: 1) The decrement value for the base.

  --heightincrement    (Default: 1) The increment value for the height.

s-ellipse

  • Array2d type
  -r, --rowRadiusLength        Required. The length for the horizontal radius.

  -c, --columnRadiusLength     Required. The length for the vertical radius.

  --rowenlargingfactor         (Default: 0) Zoom factor on the horizontal axis.

  --columnenlargingfactor      (Default: 0) Zoom factor on the vertical axis.

  --rowtranslationfactor       (Default: 0) Translation factor on the horizontal axis.

  --columntranslationfactor    (Default: 0) Translation factor on the vertical axis.

  --ellipsefactor              (Default: 0) Inside ellipse factor.

  --side                       (Default: 0) Indicate whether the ellipse is Inside or Outside.

s-hexagon

  • Array2d type
  -s, --edgeSize    Required. The length of one side of the hexagon.

s-pentagon

  • Array2d type
  -s, --edgeSize    Required. The length of one side of the pentagon.

s-pentagonStar

  • Array2d type
  -g, --greatEdgeSize    Required. The length of the great side of the pentagon star.

  -s, --smallEdgeSize    Required. The length of the small side of the pentagon star.

s-image

  • Array2d type

Get a canvas/shape from an image. It works on the levels of black (with a parametrable tolerance) on each pixel.

  -p, --path         Required. The full path of the image file

  -t, --tolerance    (Default: 0) The tolerance on the pixel color.

s-disk

  • ArrayOfA type
  -r, --rings     Required. The number of rings.

  -w, --ratio     Required. Width/height ratio.

  -c, --center    Required. Number of cells for the central ring.

Clone this wiki locally