# Pen user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <GDIPlus.au3>.

User Defined Function | Description
--- | ---
_GDIPlus_PenCreate | Create a pen object
_GDIPlus_PenCreate2 | Creates a Pen object that uses the attributes of a brush
_GDIPlus_PenDispose | Release a pen object
_GDIPlus_PenGetAlignment | Gets the pen alignment
_GDIPlus_PenGetColor | Gets the pen color
_GDIPlus_PenGetCustomEndCap | Gets the custom end cap for the pen
_GDIPlus_PenGetDashCap | Gets the pen dash cap style
_GDIPlus_PenGetDashStyle | Gets the pen dash style
_GDIPlus_PenGetEndCap | Gets the pen end cap
_GDIPlus_PenGetMiterLimit | Gets the miter length currently set for a Pen object
_GDIPlus_PenGetWidth | Retrieve the width of a pen
_GDIPlus_PenResetTransform | Resets the world transformation matrix of a Pen object to the identity matrix
_GDIPlus_PenRotateTransform | Updates the world transformation matrix of a Pen object with the product of itself and a rotation matrix
_GDIPlus_PenScaleTransform | Updates the world transformation matrix of a pen object with the product of itself and a scaling matrix
_GDIPlus_PenSetAlignment | Sets the pen alignment
_GDIPlus_PenSetColor | Sets the pen color
_GDIPlus_PenSetCompound | Sets the compound array for a Pen object
_GDIPlus_PenSetCustomEndCap | Sets the custom end cap for the pen
_GDIPlus_PenSetDashCap | Sets the pen dash cap style
_GDIPlus_PenSetDashStyle | Sets the pen dash style
_GDIPlus_PenSetEndCap | Sets the pen end cap
_GDIPlus_PenSetLineCap | Sets the cap styles for the start, end, and dashes in a line drawn with the pen
_GDIPlus_PenSetLineJoin | Sets the line join for a Pen object
_GDIPlus_PenSetMiterLimit | Sets the miter limit of a Pen object
_GDIPlus_PenSetStartCap | Sets the start cap for a Pen object
_GDIPlus_PenSetTransform | Sets the world transformation of a pen object
_GDIPlus_PenSetWidth | Sets the width of a pen