public interface IImageFactory
BufferedImage
into which the scene will be
rendered. The goal is to let the layoutlib caller create an image that's optimized for its use
case.
If no factory is passed in RenderParams.setImageFactory(IImageFactory)
, then a default
BufferedImage
of type BufferedImage.TYPE_INT_ARGB
is created.Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
getImage(int width,
int height)
Creates a buffered image with the given size
|