drawFillStyle

Type: Integer

Availability: Read or write at run time only

The drawFillStyle property of the Window class contains the pattern used to fill the shapes drawn with the graphics methods.

When the drawFillStyle property is set to DrawFillStyle_Transparent (1), the drawFillColor property is ignored.

The drawFillStyle property values in the range 1 through 7 (the Microsoft standard fill styles) are drawn with a transparent background and the JADE‑defined fill styles in the range 8 through 55 are drawn with a white background.

The settings of the drawFillStyle property are listed in the following table.

Window Class Constant Integer Value Image
DrawFillStyle_Solid (the default value) 0
DrawFillStyle_Transparent 1
DrawFillStyle_HorzLine 2
DrawFillStyle_VertLine 3
DrawFillStyle_UpDiagonal 4
DrawFillStyle_DownDiagonal 5
DrawFillStyle_Cross 6
DrawFillStyle_DiagonalCross 7
DrawFillStyle_4DotDiamond99 8
DrawFillStyle_EveryOther 9
DrawFillStyle_UpDiagonal4 10
DrawFillStyle_VertLine4 11
DrawFillStyle_HalfUpDiagonal 12
DrawFillStyle_HorzWaves4 13
DrawFillStyle_Triangles 14
DrawFillStyle_Cross55 15
DrawFillStyle_4DotDiamond95 16
DrawFillStyle_FilledDiamond 17
DrawFillStyle_DownDiagonal4 18
DrawFillStyle_HorzLine4 19
DrawFillStyle_HalfDownDiagonal 20
DrawFillStyle_HorzWaves3 21
DrawFillStyle_DottedCross 22
DrawFillStyle_Cross99 23
DrawFillStyle_4DotDiamond55 24
DrawFillStyle_Checkered 25
DrawFillStyle_DbleUpDiagonal 26
DrawFillStyle_VertLine2 27
DrawFillStyle_HorzDash 28
DrawFillStyle_DownRectangle 29
DrawFillStyle_8DotDiamond99 30
DrawFillStyle_AltSquares2 31
DrawFillStyle_4DotDiamond53 32
DrawFillStyle_Rev4DotDiamond55 33
DrawFillStyle_DbleDownDiag 34
DrawFillStyle_HorzLine2 35
DrawFillStyle_VertDash 36
DrawFillStyle_HorzRectangle 37
DrawFillStyle_UpKeyShape 38
DrawFillStyle_AltSquares4 39
DrawFillStyle_8DotDiamond55 40
DrawFillStyle_Rev4DotDiamond95 41
DrawFillStyle_TripleDownDiag 42
DrawFillStyle_DbleVertLine 43
DrawFillStyle_Speckled 44
DrawFillStyle_Interlocked 45
DrawFillStyle_ReverseHorzDash 46
DrawFillStyle_DiagonalHatch 47
DrawFillStyle_InvertedCross 48
DrawFillStyle_Rev4DotDiamond99 49
DrawFillStyle_TripleUpDiagonal 50
DrawFillStyle_DbleHorzLine 51
DrawFillStyle_PatchworkSquares 52
DrawFillStyle_Tartan 53
DrawFillStyle_ShinyBalls 54
DrawFillStyle_Balls 55

The code fragment in the following example shows the use of the drawFillStyle property.

table.drawFillStyle := DrawFillStyle_DiagonalCross;

Printing the draw fill styles in the range DrawFillStyle_4DotDiamond99 (8) through DrawFillStyle_Balls (55) using the Windows Enhanced Meta Files (EMF) format produces a solid gray hue only, because of an EMF problem that is outside JADE's control. To print these styles, you must use the Scalable Vector Graphics (SVG) format.