Doc: Ink

Ink - set the drawing color for text and primitives

Syntax

Ink color

  • color - color to use when drawing text and primitives

Explanation

Ink sets the color for drawing text and primitives.

Examples

Change the Ink Color

The example code below changes the ink color to bright green before drawing a circle.

SetFPS 60

Do    
    Cls 0
        Ink $00FF00
        Circle 100, 100, 20, True
    Sync
Loop

Related Pages

Reference

Text Commands that Use Ink

  • Print - similar to the old BASIC PRINT
  • Text - draw text to the screen

Primitive Commands that Use Ink

  • Box - draw a box (square) or rectangle
  • Circle - draw a circle
  • Tri - draw a triangle
Categories: Color : Functions : Graphics
page tags: color function graphics ink