[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 4.19.4 Pen object

The Pen object is used to draw. It is vector based, so all drawing with the pen may be subject to transformations like scaling, translation, and rotation.

This object has a number of states that affect the output of the drawing. These include the blending mode, the vertex color, the fill state, and the pen width. Shapes are always specified using boxes (except for the triangle.) The box is specified using: (xmin,ymin) - (xmax,ymax)

When drawing inside of a widget, (xmin,ymin) will always be equal to (0,0) and this (xmax,ymax) will be equal to (width,height). You will see this paradigm used over and over again in the default AWS2 widget set.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ]

This document was generated using texi2html 1.76.