Reference and examples ====================== This is the full list of commands available in Shoebot. For a more technical outline of the Shoebot API, see the :doc:`API reference `. Many parts of this reference were adapted from the original `Nodebox documentation `_ by Frederik de Bleser and Tom de Smedt. Note that most examples here are drawn on a 100x100 size for simplicity; the Shoebot default is 300x300px. .. toctree:: :maxdepth: 3 :hidden: reference/shapes reference/paths reference/text reference/colors reference/transforms reference/images reference/utility reference/core :doc:`Shapes ` -------------------------------- - :ref:`rect() ` - :ref:`rectmode() ` - :ref:`ellipse() ` - :ref:`ellipsemode() ` - :ref:`line() ` - :ref:`arc() ` - :ref:`arrow() ` - :ref:`star() ` :doc:`Paths ` ------------------------------ - :ref:`beginpath() ` - :ref:`moveto() ` - :ref:`lineto() ` - :ref:`curveto() ` - :ref:`arcto() ` - :ref:`closepath() ` - :ref:`endpath() ` - :ref:`drawpath() ` - :ref:`autoclosepath() ` - :ref:`findpath() ` - :ref:`beginclip() ` - :ref:`endclip() ` :doc:`Text ` ------------------------------ - :ref:`text() ` - :ref:`font() ` - :ref:`fontsize() ` - :ref:`textpath() ` - :ref:`textmetrics() ` - :ref:`textbounds() ` - :ref:`textwidth() ` - :ref:`textheight() ` - :ref:`lineheight() ` - :ref:`align() ` - :ref:`fontoptions() ` :doc:`Colors ` -------------------------------- - :ref:`background() ` - :ref:`fill() ` - :ref:`nofill() ` - :ref:`stroke() ` - :ref:`nostroke() ` - :ref:`strokewidth() ` - :ref:`strokedash() ` - :ref:`strokecap() ` - :ref:`strokejoin() ` - :ref:`color() ` - :ref:`colormode() ` - :ref:`colorrange() ` - :ref:`blendmode() ` - :ref:`fillrule() ` :doc:`Transforms ` ------------------------------------------ - :ref:`transform() ` - :ref:`translate() ` - :ref:`rotate() ` - :ref:`scale() ` - :ref:`skew() ` - :ref:`push() ` - :ref:`pop() ` - :ref:`reset() ` :doc:`Images ` ------------------------------------ - :ref:`image() ` - :ref:`imagesize() ` :doc:`Utility ` ------------------------------------- - :ref:`var() ` - :ref:`random() ` - :ref:`grid() ` - :ref:`fontnames() ` - :ref:`files() ` - :ref:`autotext() ` :doc:`Core ` ------------------------------- - :ref:`ximport() ` - :ref:`size() ` - :ref:`speed() ` - :ref:`run() `