public class ImageInstance extends Object
Image.setSources(java.util.List) for usage.| Constructor and Description |
|---|
ImageInstance() |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeightPixels()
Gets the image height in pixels.
|
String |
getSize()
Gets the image size.
|
String |
getUrl()
Returns the image URL.
|
int |
getWidthPixels()
Gets the image width in pixels.
|
void |
setHeightPixels(int heightPixels)
Sets the image height in pixels.
|
void |
setSize(ImageSize size)
Sets the image size.
|
void |
setUrl(String url)
Sets the image URL.
|
void |
setWidthPixels(int widthPixels)
Sets the image width in pixels.
|
public String getUrl()
public void setUrl(String url)
url - the image URLpublic String getSize()
public void setSize(ImageSize size)
size - the image sizepublic int getWidthPixels()
public void setWidthPixels(int widthPixels)
widthPixels - the image widthpublic int getHeightPixels()
public void setHeightPixels(int heightPixels)
heightPixels - the image heightCopyright © 2017. All rights reserved.