Syntax for image-pattern support in CSS
Richard Bair
richard.bair at oracle.com
Fri Aug 31 19:31:15 PDT 2012
> Is that overkill?
I hope so, cause I don't want to do that much work for the tweak! :-)
> Where is the origin for the repeating case?
That is a really good question. It seems to me that it must be shape origin. I will write some tests to see if I got this right. As I read the ImagePattern documentation, it seems that this is what (0, 0) means -- relative to the shape's upper left corner (not the origin)?
* <p>The {@code ImagePattern} class fills a shape with an image pattern. The
* user may specify the anchor rectangle, which defines the position,
* width, and height of the image relative to the upper left corner of the
* shape. If the shape extends out of the anchor rectangle, the image is tiled.
Richard
More information about the openjfx-dev
mailing list