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 BufferedImageimagestatic intSPRITE_HEIGHTstatic intSPRITE_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 AWTImageWrapperfrom(BufferedImage image)static AWTImageWrapperfrom(Shape shape)static AWTImageWrapperfrom(Shape shape, Color color)static AWTImageWrapperfrom(IImageWrapper image)BufferedImagegetImage()static BufferedImagegetImage(Shape shape)static BufferedImagegetImage(Shape shape, int width, int height)static BufferedImagegetImage(Shape shape, int width, int height, int imageType, Color color)static BufferedImagegetImage(Shape shape, int width, int height, Color color)static BufferedImagegetImage(Shape shape, Color color)voidsetImage(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)
-
-