public class NinePatchImageSceneObject extends SceneObject
NinePatchImage and puts it in the SceneObject context.ORIGIN_TOP_LEFT| Constructor and Description |
|---|
NinePatchImageSceneObject(BufferedImage image) |
NinePatchImageSceneObject(Image image) |
NinePatchImageSceneObject(NinePatchImage image) |
| Modifier and Type | Method and Description |
|---|---|
Insets |
getInsets() |
protected void |
paint(Graphics2D g,
long elapsedTime)
Paint this SceneObject.
|
void |
setQuality(int quality) |
collides, collidesBoundingBox, collidesExactly, consumes, consumesBoundingBox, consumesExactly, getHeight, getOrigin, getPosition, getPreciseHeight, getPreciseWidth, getPreciseX, getPreciseY, getRectangle, getRenderingOptions, getSize, getTopLeftPosition, getWidth, getX, getY, isDrawBoundingBox, paintAbsoluteOnScene, paintOnScene, paintOnScene, paintOnScene, paintOnScene, setDrawBoundingBox, setPosition, setPosition, setRenderingOptions, setSize, setSize, setTopLeftPositionpublic NinePatchImageSceneObject(BufferedImage image)
public NinePatchImageSceneObject(NinePatchImage image)
public NinePatchImageSceneObject(Image image)
protected void paint(Graphics2D g, long elapsedTime)
SceneObjectSceneObject it is
important, that the object is drawn in it's actual state.paint in class SceneObjectg - Graphics Object for paintingelapsedTime - Elapsed time since the last call to this methodpublic void setQuality(int quality)
quality - The interpolation qualityNinePatchImage.setQuality(int)public Insets getInsets()
Copyright © 2017. All rights reserved.