Class Overview
Wraps a Nine Patch image.
Summary
Public Methods |
int
|
getHeight()
Return the image height
|
int
|
getWidth()
Return the image width
|
[Expand]
Inherited Methods |
From class
net.pierrox.lightning_launcher.script.api.Image
static
ImageAnimation
|
createAnimation(int width, int height, int count, int duration, int loopCount)
Create a blank animation: frames are created fully transparent and need to be drawn.
|
static
Image
|
createImage(String path)
Create an image from the specified file.
|
static
ImageBitmap
|
createImage(int width, int height)
Create a blank new image of the specified size.
|
static
Image
|
createImage(String pkg, String name)
Create an image from a package and a resource name.
|
static
ImageScript
|
createImage(Scriptable object, int width, int height)
Create an image whose content is drawn using a script.
|
static
ImageBitmap
|
createTextIcon(String code, int size, int fgColor, int bgColor, Typeface typeface)
Create an icon using text.
|
void
|
delete()
Delete this image from persistent storage (if loaded from a file).
|
abstract
int
|
getHeight()
Return the image height
|
String
|
getType()
Return the type of this image.
|
abstract
int
|
getWidth()
Return the image width
|
boolean
|
isNinePatch()
This method is deprecated.
use #getType instead
|
|
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Methods