public class PictureRenderData extends Object implements RenderData
| 构造器和说明 |
|---|
PictureRenderData(int width,
int height,
File picture) |
PictureRenderData(int width,
int height,
PictureType pictureType,
BufferedImage image) |
PictureRenderData(int width,
int height,
PictureType pictureType,
byte[] data) |
PictureRenderData(int width,
int height,
PictureType pictureType,
InputStream inputStream) |
PictureRenderData(int width,
int height,
String path) |
PictureRenderData(int width,
int height,
String format,
BufferedImage image)
已过时。
|
PictureRenderData(int width,
int height,
String format,
byte[] data)
已过时。
|
PictureRenderData(int width,
int height,
String format,
InputStream input)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAltMeta() |
int |
getHeight() |
byte[] |
getImage() |
PictureType |
getPictureType() |
int |
getWidth() |
void |
setAltMeta(String altMeta) |
void |
setHeight(int height) |
void |
setImage(byte[] image) |
void |
setPictureType(PictureType pictureType) |
void |
setWidth(int width) |
public PictureRenderData(int width,
int height,
String path)
public PictureRenderData(int width,
int height,
File picture)
public PictureRenderData(int width,
int height,
PictureType pictureType,
InputStream inputStream)
public PictureRenderData(int width,
int height,
PictureType pictureType,
BufferedImage image)
public PictureRenderData(int width,
int height,
PictureType pictureType,
byte[] data)
@Deprecated public PictureRenderData(int width, int height, String format, InputStream input)
@Deprecated public PictureRenderData(int width, int height, String format, BufferedImage image)
@Deprecated public PictureRenderData(int width, int height, String format, byte[] data)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public byte[] getImage()
public void setImage(byte[] image)
public String getAltMeta()
public void setAltMeta(String altMeta)
public PictureType getPictureType()
public void setPictureType(PictureType pictureType)
Copyright © 2021. All rights reserved.