public class IlvTexture extends TexturePaint
TexturePaint
used to
fill a shape.IlvPattern
BITMASK, OPAQUE, TRANSLUCENT
Constructor and Description |
---|
IlvTexture(URL imageURL)
Creates a new
IlvTexture . |
IlvTexture(URL imageURL,
Rectangle2D anchor)
Creates a new
IlvTexture . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests the equality of two textures.
|
URL |
getImageURL()
Returns the URL of the image of the texture.
|
createContext, getAnchorRect, getImage, getTransparency
public IlvTexture(URL imageURL)
IlvTexture
. The rectangle used to
replicate the texture is sized to the image size.imageURL
- The URL of the image of the texture.public IlvTexture(URL imageURL, Rectangle2D anchor)
IlvTexture
.imageURL
- The URL of the image of the texture.anchor
- The Rectangle2D
in manager coordinates used to
anchor and replicate the texture.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.