Fill Paint

FillPaint is a Paint-valued attribute that fills a region with a tiled pattern. It does not have a default value. The class FillPaint contains utilities to define some useful paint patterns.

Some Examples of FillPaint

 

FillPaint.verticalStripe(10, 5, Color.yellow,Color.blue)

 

FillPaint.horizontalStripe(10, 5, Color.yellow,Color.blue)

FillPaint.diamond(36, 5, Color.blue,Color.yellow)

FillPaint.checkerboard(24, Color.red,Color.yellow)

 

The FillPaint attribute can also be set using an Image, which is used to tile filled regions.



Visual Numerics - Developers of IMSL and PV-WAVE
http://www.vni.com/
PHONE: 713.784.3131
FAX:713.781.9260