public class IlvTexture extends TexturePaint
TexturePaint used to
fill a shape.
ilvTexture {
class : "ilog.views.util.java2d.IlvTexture(imageURL)";
anchor : "@#rectangle2D";
imageURL : "url(spec)";
transparency : "OPAQUE";
}
IlvPattern| Modifier and Type | Property and Description |
|---|---|
java.awt.geom.Rectangle2D |
anchor
Sets a copy of the anchor rectangle which positions and sizes the textured image. |
java.lang.String |
class
Creates a new IlvTexture. |
java.net.URL |
imageURL
Sets the URL of the image of the texture. |
int |
transparency
Sets the type of this Transparency. |
public java.lang.String class
IlvTexture. The rectangle used to
replicate the texture is sized to the image size.
class : "ilog.views.util.java2d.IlvTexture(imageURL)";public java.awt.geom.Rectangle2D anchor
anchor : "@#rectangle2D";Rectangle2D for an example of implementing an anchor.public java.net.URL imageURL
imageURL : "url(spec)";public int transparency
Transparency.
transparency : "OPAQUE";| Allowed values: | ||
OPAQUE |
represents image data that is guaranteed to be completely opaque, meaning that all pixels have an alpha value of 1.0. | |
BITMASK |
represents image data that is guaranteed to be either completely opaque, with an alpha value of 1.0, or completely transparent, with an alpha value of 0.0. | |
TRANSLUCENT |
represents image data that contains or might contain arbitrary alpha values between and including 0.0 and 1.0. |
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.