Package org.jzy3d.plot3d.rendering.image
Class AWTImageWrapper
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.image.AWTImageWrapper
-
- All Implemented Interfaces:
IImageWrapper
public class AWTImageWrapper extends Object implements IImageWrapper
-
-
Field Summary
Fields Modifier and Type Field Description protected BufferedImage
image
static int
SPRITE_HEIGHT
static int
SPRITE_WIDTH
-
Constructor Summary
Constructors Constructor Description AWTImageWrapper(BufferedImage image)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AWTImageWrapper
from(BufferedImage image)
static AWTImageWrapper
from(Shape shape)
static AWTImageWrapper
from(Shape shape, Color color)
static AWTImageWrapper
from(IImageWrapper image)
BufferedImage
getImage()
static BufferedImage
getImage(Shape shape)
static BufferedImage
getImage(Shape shape, int width, int height)
static BufferedImage
getImage(Shape shape, int width, int height, int imageType, Color color)
static BufferedImage
getImage(Shape shape, int width, int height, Color color)
static BufferedImage
getImage(Shape shape, Color color)
void
setImage(BufferedImage image)
-
-
-
Field Detail
-
image
protected BufferedImage image
-
SPRITE_WIDTH
public static int SPRITE_WIDTH
-
SPRITE_HEIGHT
public static int SPRITE_HEIGHT
-
-
Constructor Detail
-
AWTImageWrapper
public AWTImageWrapper(BufferedImage image)
-
-
Method Detail
-
getImage
public BufferedImage getImage()
-
setImage
public void setImage(BufferedImage image)
-
from
public static AWTImageWrapper from(Shape shape)
-
from
public static AWTImageWrapper from(Shape shape, Color color)
-
from
public static AWTImageWrapper from(BufferedImage image)
-
from
public static AWTImageWrapper from(IImageWrapper image)
-
getImage
public static BufferedImage getImage(Shape shape)
-
getImage
public static BufferedImage getImage(Shape shape, Color color)
-
getImage
public static BufferedImage getImage(Shape shape, int width, int height)
-
getImage
public static BufferedImage getImage(Shape shape, int width, int height, Color color)
-
getImage
public static BufferedImage getImage(Shape shape, int width, int height, int imageType, Color color)
-
-