Pens draw round the edges of components.
• | Choose a pen style. The options solid, dash, dot, dashdot, and dashdotdot should be fairly self-explanatory. Null gives an invisible pen. Insideframe is relevant when the pen is thick; for example, if you draw a circle of diameter 100 units with a pen of width 20 units, the circle will normally end up having an external diameter of 120 units and an internal diameter of 80 units (as the pen overlaps by 10 units on the inside and the outside of the circle). If you specify insideframe, the circle's outside diameter is 100 units in this situation. |
• | Choose a pen width in pixels. |
• | Choose a pen colour by specifying values from 0-255 for the red, green, and blue components of the colour. |
|