GDI Reference: CreatePen

Creating a GDI Pen

This script creates a simple pen object in the GDI.

It allows you to control the pen's color and width.

This is the main function that creates the pen.