Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Drawing on Images and Auto-assign [3/12]

Auto-assignment makes it easier to draw on an image.

The getter function .text from type image returns a new image with text drawn on it. The signature of procedure .text is:

  • image image.text(
    • point2D position, (top-left corner)
    • fontTag font,
    • num fontSize,
    • colorA color,
    • string text
    • )