public interface ImageResource extends ResourcePrototype
Modifier and Type | Interface and Description |
---|---|
static interface |
ImageResource.ImageOptions
Specifies additional options to control how an image is bundled.
|
static class |
ImageResource.RepeatStyle
Indicates that an ImageResource should be bundled in such a way as to
support horizontal or vertical repetition.
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Returns the height of the image.
|
int |
getLeft()
Returns the horizontal position of the image within the composite image.
|
SafeUri |
getSafeUri()
Returns the URL for the composite image that contains the ImageResource.
|
int |
getTop()
Returns the vertical position of the image within the composite image.
|
String |
getURL()
Deprecated.
Use
getSafeUri() instead. |
int |
getWidth()
Returns the width of the image.
|
boolean |
isAnimated()
Return
true if the image contains multiple frames. |
getName
int getHeight()
int getLeft()
SafeUri getSafeUri()
int getTop()
@Deprecated String getURL()
getSafeUri()
instead.int getWidth()
boolean isAnimated()
true
if the image contains multiple frames.Copyright © 2018. All rights reserved.