Brushes

Brushes Overview

Brushes in ProGUI define how areas are filled or how strokes are drawn. They go beyond simple solid colors, allowing for complex fills using images or gradients. Drawing commands that fill areas (like DrawBoxFill, DrawPathFill, DrawRoundBoxFill, DrawEllipseFill) or draw complex strokes (DrawLineFill, DrawPathStrokeFill, etc.) require a Brush object.

Key functionalities include:

Brushes are essential for creating visually rich interfaces with textures, gradients, and complex fills. Remember to free created brushes using FreeBrush() when they are no longer needed.