ilog.views.util.java2d
Class IlvTexture
java.lang.Object
java.awt.TexturePaint
ilog.views.util.java2d.IlvTexture
- All Implemented Interfaces:
- Paint, Transparency
- Direct Known Subclasses:
- IlvTexture
public class IlvTexture
- extends TexturePaint
A texture is a predefined TexturePaint used to
fill a shape.
- Since:
- JViews 5.5
- See Also:
IlvPattern
|
Method Summary |
boolean |
equals(Object obj)
Tests the equality of two textures. |
URL |
getImageURL()
Returns the URL of the image of the texture. |
IlvTexture
public IlvTexture(URL imageURL)
- Creates a new
IlvTexture. The rectangle used to
replicate the texture is sized to the image size.
- Parameters:
imageURL - The URL of the image of the texture.
IlvTexture
public IlvTexture(URL imageURL,
Rectangle2D anchor)
- Creates a new
IlvTexture.
- Parameters:
imageURL - The URL of the image of the texture.anchor - The Rectangle2D in manager coordinates used to
anchor and replicate the texture.
getImageURL
public final URL getImageURL()
- Returns the URL of the image of the texture.
equals
public boolean equals(Object obj)
- Tests the equality of two textures.
- Overrides:
equals in class Object
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.