Package eu.webtoolkit.jwt
Class WPainter.Image
java.lang.Object
eu.webtoolkit.jwt.WPainter.Image
- Enclosing class:
- WPainter
An image that can be rendered on a
WPainter
.
The image is specified in terms of a URL, and the width and height.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Image
Creates an image.Create an image which is located at the uri, and which has dimensions width x height.
-
Image
Creates an image.Create an image which is located at uri which is available on the local filesystem as file. The image dimensions are retrieved from the file.
-
-
Method Details
-
getUri
Returns the url. -
getWidth
public int getWidth()Returns the image width. -
getHeight
public int getHeight()Returns the image height.
-