Shapes

Shapes

Shapes can be drawn upon a Canvas

  • Circle: Draws a circle at with the specified radius and color
  • Closure: Shape that can write directly to the Painter context
  • Image: Renders an image on the canvas.
  • Line: Draw a straight line from one point to another.
  • Map: Renders a map of the world!
  • Points: Render a set of points on the canvas.
  • Rectangle: Draw a rectangle at the given position with the given width and height
  • Sprite: Renders a "sprite" based on a given "ascii art"
  • Text: Renders text on the canvas.