Instances of this class represent patterns to use while drawing. Patterns
can be specified either as bitmaps or gradients.
Application code must explicitly invoke the Pattern.dispose()
method to release the operating system resources managed by each instance
when those instances are no longer required.
Application code must explicitly invoke the
Pattern.dispose()method to release the operating system resources managed by each instance when those instances are no longer required.