public abstract class WCImage extends Ref
Constructor and Description |
---|
WCImage() |
Modifier and Type | Method and Description |
---|---|
protected void |
drawPixelBuffer() |
protected void |
flushRQ() |
String |
getFileExtension() |
abstract int |
getHeight() |
static WCImage |
getImage(Object imgFrame) |
ByteBuffer |
getPixelBuffer() |
abstract float |
getPixelScale() |
Object |
getPlatformImage() |
abstract int |
getWidth() |
protected boolean |
isDirty() |
boolean |
isNull() |
void |
setFileExtension(String fileExtension) |
void |
setRQ(WCRenderQueue rq) |
abstract BufferedImage |
toBufferedImage() |
protected abstract byte[] |
toData(String mimeType) |
protected abstract String |
toDataURL(String mimeType) |
public abstract int getWidth()
public abstract int getHeight()
public String getFileExtension()
public void setFileExtension(String fileExtension)
public Object getPlatformImage()
protected abstract byte[] toData(String mimeType)
public ByteBuffer getPixelBuffer()
protected void drawPixelBuffer()
public void setRQ(WCRenderQueue rq)
protected void flushRQ()
protected boolean isDirty()
public boolean isNull()
public abstract float getPixelScale()
public abstract BufferedImage toBufferedImage()
Copyright © 2020. All rights reserved.