Reference for Sketch2DStatic
Renderer which writes to image. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Sketch2DStatic
Shape
Sound (future)
Style
System
Text
Transform
Purpose
Renderer which can run without displaying the sketch to the user, instead writing directly to a file.
Snippet
Create a new static renderer sketch.
sketch = sketchingpy.Sketch2DStatic(500, 500)
Parameters
- width: The horizontal size of the sketch in pixels.
- height: The vertical size of the sketch in pixels.
- target: Optional and ignored (reserved for future use).
- loading: Optional and ignored (reserved for future use).
Availability
Requires installation of Pillow.