summon.shapes
index
/afs/csail.mit.edu/u/r/rasmus/projects/summon.git/lib/summon/shapes.py

SUMMON - common shapes
 
This module provideds functions for building common shapes.

 
Modules
       
atexit
summon.colors
summon.core
math
summon.options
os
summon
summon_config
summon_core
summon.svg
sys
threading
time
summon.timer
summon.util
summon.vector

 
Functions
       
box(x1, y1, x2, y2, fill=True)
boxStroke(x1, y1, x2, y2)
DEPRECATED: use box(x1, y1, x2, y2, fill=False)
regularPoly(nsides, radius, fill=True)
regularPolyStroke(nsides, size)
DEPRECATED: use regularPoly(nsides, size, fill=False)

 
Data
        VERSION = '1.8.3'
VERSION_INFO = '------------------------------------------------...------------------------------------------------\n'
black = (2017, 0, 0, 0, 1.0)
blue = (2017, 0, 0, 1, 1.0)
green = (2017, 0, 1, 0, 1.0)
grey = (2017, 0.5, 0.5, 0.5, 1.0)
orange = (2017, 1, 0.5, 0, 1.0)
purple = (2017, 1, 0, 1, 1.0)
red = (2017, 1, 0, 0, 1.0)
state = <summon.SummonState object>
white = (2017, 1, 1, 1, 1.0)
yellow = (2017, 1, 1, 0, 1.0)