GraphicsBuilder - Paints - TexturePaint Add comment to Wiki View in Wiki Edit Wiki page Printable Version

Creates an image based paint. It is recommended that the image should have small dimensions as it will be tiled and copied to fit the Shape's bounds.

Properties

Property

Default

Notes

x

0

 

y

0

 

width

 

if specified will override the image's width

height

 

if specified will override the image's height

image

 

must be a java.awt.Image, an image or shape operation

classpath

 

String

url

 

URL or String

file

 

File or String

You must specify ate least any of [image,classpath,url,file]

Example

 

Search

Results of your search request can come from various sources: the Groovy website itself, the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.

  By  -  pages  -  views  - last modified