| java.lang.Object org.openlaszlo.iv.flash.api.FlashItem org.openlaszlo.iv.flash.api.FlashObject org.openlaszlo.iv.flash.api.FlashDef org.openlaszlo.iv.flash.api.image.Bitmap
All known Subclasses: org.openlaszlo.iv.flash.api.image.JPEGBitmap, org.openlaszlo.iv.flash.api.image.LLBitmap,
Bitmap | abstract public class Bitmap extends FlashDef (Code) | | Abstract class which represent image
|
tagCode | protected int tagCode(Code) | | |
getHeight | public int getHeight()(Code) | | Return height of the bitmap in pixels
|
getSize | abstract public int getSize()(Code) | | Return size of the image in bytes, which it's occupied in memory
|
getTag | public int getTag()(Code) | | |
getWidth | public int getWidth()(Code) | | Return width of the bitmap in pixels
|
isConstant | public boolean isConstant()(Code) | | |
newInstance | public Instance newInstance()(Code) | | Create instance of this bitmap
No scaling, no translating
newly created instance (can be added to a frame) |
newInstance | public Instance newInstance(int width, int height, boolean scale, boolean center)(Code) | | Create instance of this bitmap
Parameters: width - if scale is true it's width of target image in twixels (there is no resampling, just transformation) Parameters: height - if scale is true it's height of target image in twixels (there is no resampling, just transformation) Parameters: scale - if true then transform (scale) image to fit width and height (there is no resampling, just transformation) Parameters: center - if true then transform (translate) image so that its origin in the center newly created instance (can be added to a frame) |
setTag | public void setTag(int tagCode)(Code) | | |
|
|