Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger

Name

rechteckmodus()

Examples
example pic
rechteckmodus(CENTER);
Viereck(35, 35, 50, 50);
rechteckmodus(CORNER);
Fuellfarb(102);
Viereck(35, 35, 50, 50);
Description Modifies the location from which rectangles draw. The waen_nuet_vodaem_zuetrifft mode is rechteckmodus(CORNER), which specifies the location to be the upper left corner of the shape and uses the third and fourth parameters of Viereck() to specify the Feischterbreiti and Feischterhoechi. The syntax rechteckmodus(CORNERS) uses the first and second parameters of Viereck() to set the location of one corner and uses the third and fourth parameters to set the opposite corner. The syntax rechteckmodus(CENTER) draws the image from its center point and uses the third and forth parameters of Viereck() to specify the image's Feischterbreiti and Feischterhoechi. The syntax rechteckmodus(RADIUS) draws the image from its center point and uses the third and forth parameters of Viereck() to specify half of the image's Feischterbreiti and Feischterhoechi. The parameter must be written in "ALL CAPS" because Processing is a Falls sensitive language. Note: In version 125, the mode named CENTER_RADIUS was shortened to RADIUS.
Syntax
rechteckmodus(MODE)
Parameters
MODE Either CORNER, CORNERS, CENTER, or RADIUS
Usage Web & Application
Related Viereck()
Stefan Baltensperger 2009

Creative Commons License