Pen - Kirix Documentation

Developer Resources

Pen

Overview

Encapsulates a pen object, which is used for drawing the foreground on a graphics object.

Constructor

Pen(color : Color, thickness : Number)
Pen(name : String, thickness : Number)

Arguments

color
The color to use to draw the foreground.
name
The name of the color to use to draw the foreground.