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.
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.
PHONE: 713.784.3131 FAX:713.781.9260 |