Regalamiunsorriso/rus/WEB-INF/lib/jxl_src/jxl/write/WritableImage.java
2026-03-14 20:04:39 +01:00

74 lines
1.7 KiB
Java

package jxl.write;
import java.io.File;
import jxl.biff.drawing.Drawing;
import jxl.biff.drawing.DrawingGroup;
import jxl.biff.drawing.DrawingGroupObject;
public class WritableImage extends Drawing {
public static Drawing.ImageAnchorProperties MOVE_AND_SIZE_WITH_CELLS = Drawing.MOVE_AND_SIZE_WITH_CELLS;
public static Drawing.ImageAnchorProperties MOVE_WITH_CELLS = Drawing.MOVE_WITH_CELLS;
public static Drawing.ImageAnchorProperties NO_MOVE_OR_SIZE_WITH_CELLS = Drawing.NO_MOVE_OR_SIZE_WITH_CELLS;
public WritableImage(double x, double y, double width, double height, File image) {
super(x, y, width, height, image);
}
public WritableImage(double x, double y, double width, double height, byte[] imageData) {
super(x, y, width, height, imageData);
}
public WritableImage(DrawingGroupObject d, DrawingGroup dg) {
super(d, dg);
}
public double getColumn() {
return getX();
}
public void setColumn(double c) {
setX(c);
}
public double getRow() {
return getY();
}
public void setRow(double c) {
setY(c);
}
public double getWidth() {
return super.getWidth();
}
public void setWidth(double c) {
super.setWidth(c);
}
public double getHeight() {
return super.getHeight();
}
public void setHeight(double c) {
super.setHeight(c);
}
public File getImageFile() {
return super.getImageFile();
}
public byte[] getImageData() {
return super.getImageData();
}
public void setImageAnchor(Drawing.ImageAnchorProperties iap) {
super.setImageAnchor(iap);
}
public Drawing.ImageAnchorProperties getImageAnchor() {
return super.getImageAnchor();
}
}