Found Colors doc page. But where is Brush Styles and Pen Styles constants documented?
You should learn how to navigate the source code - this is the best and most up-to-date documentation for such simple questions. Suppose you somewhere have a
Canvas.Brush.Style := bsSolid; in your code. Hold the CTRL key down and click on word
bsSolid -- then the IDE opens the unit in which bsSolid is declared, in the case unit Graphics:
bsSolid = FPCanvas.bsSolid;
bsClear = FPCanvas.bsClear;
bsHorizontal = FPCanvas.bsHorizontal;
bsVertical = FPCanvas.bsVertical;
bsFDiagonal = FPCanvas.bsFDiagonal;
bsBDiagonal = FPCanvas.bsBDiagonal;
bsCross = FPCanvas.bsCross;
bsDiagCross = FPCanvas.bsDiagCross;
Now you see all the other declarations, their name is self-explanatory.
Or you could CTRL-click on
Style (of
Canvas.Brush.Style) -- the IDE will lead you to unit FPCanvas, line
property Style : TFPBrushStyle read FStyle write SetStyle. CTRL-Click on
TFPBrushStyle, and the cursor will jump a few line higher to
TFPBrushStyle = (bsSolid, bsClear, bsHorizontal, bsVertical, bsFDiagonal,
bsBDiagonal, bsCross, bsDiagCross, bsImage, bsPattern);
Repeat this exercise with Canvas.Pen...