Object
A HatchBrush paints a GUI object with a simple two-colour texture that is designed to tile perfectly so that it can cover an object of any size.
The textures that can be used are all pre-defined - if you would prefer to use a custom texture, see the TextureBrush class.
Creates a new HatchBrush. The ink and paper colours should both be Color objects, and the style of hatch is given by a String descriptor. The available styles are listed below - see pg.178 of the User Guide for images of how they will appear.
"HORIZONTAL"
"VERTICAL"
"FORWARDDIAGONAL"
"BACKWARDDIAGONAL"
"CROSS"
"DIAGONALCROSS"
"05PERCENT"
"10PERCENT"
"20PERCENT"
"25PERCENT"
"30PERCENT"
"40PERCENT"
"50PERCENT"
"60PERCENT"
"70PERCENT"
"75PERCENT"
"80PERCENT"
"90PERCENT"
"LIGHTDOWNWARDDIAGONAL"
"LIGHTUPWARDDIAGONAL"
"DARKDOWNWARDDIAGONAL"
"DARKUPWARDDIAGONAL"
"WIDEDOWNWARDDIAGONAL"
"WIDEUPWARDDIAGONAL"
"LIGHTVERTICAL"
"LIGHTHORIZONTAL"
"NARROWVERTICAL"
"NARROWHORIZONTAL"
"DARKVERTICAL"
"DARKHORIZONTAL"
"DASHEDDOWNWARDDIAGONAL"
"DASHEDUPWARDDIAGONAL"
"DASHEDHORIZONTAL"
"DASHEDVERTICAL"
"SMALLCONFETTI"
"LARGECONFETTI"
"ZIGZAG"
"WAVE"
"DIAGONALBRICK"
"HORIZONTALBRICK"
"WEAVE"
"PLAID"
"DIVOT"
"DOTTEDGRID"
"DOTTEDDIAMOND"
"SHINGLE"
"TRELLIS"
"SPHERE"
"SMALLGRID"
"SMALLCHECKERBOARD"
"LARGECHECKERBOARD"
"OUTLINEDDIAMOND"
"SOLIDDIAMOND"
# File GUI_Classes.rb, line 1603 def self.new #DUMMY end
Generated with the Darkfish Rdoc Generator 2.