Constructor: |
public WritableImage(DrawingGroupObject d,
DrawingGroup dg) {
super(d, dg);
}
Constructor, used when copying sheets Parameters:
d - the image to copy
dg - the drawing group
|
public WritableImage(double x,
double y,
double width,
double height,
File image) {
super(x, y, width, height, image);
}
Parameters:
x - the column number at which to position the image
y - the row number at which to position the image
width - the number of columns cells which the image spans
height - the number of rows which the image spans
image - the source image file
|
public WritableImage(double x,
double y,
double width,
double height,
byte[] imageData) {
super(x, y, width, height, imageData);
}
Parameters:
x - the column number at which to position the image
y - the row number at which to position the image
width - the number of columns cells which the image spans
height - the number of rows which the image spans
imageData - the image data
|
Method from jxl.write.WritableImage Detail: |
public double getColumn() {
return super.getX();
}
Accessor for the image position |
public double getHeight() {
return super.getHeight();
}
Accessor for the image dimensions |
public ImageAnchorProperties getImageAnchor() {
return super.getImageAnchor();
}
Accessor for the anchor properties |
public byte[] getImageData() {
return super.getImageData();
}
Accessor for the image data |
public File getImageFile() {
return super.getImageFile();
}
Accessor for the image file |
public double getRow() {
return super.getY();
}
Accessor for the image position |
public double getWidth() {
return super.getWidth();
}
Accessor for the image dimensions |
public void setColumn(double c) {
super.setX(c);
}
Accessor for the image position |
public void setHeight(double c) {
super.setHeight(c);
}
Accessor for the image dimensions
Note that the actual size of the rendered image will depend on the
height of the rows it spans |
public void setImageAnchor(ImageAnchorProperties iap) {
super.setImageAnchor(iap);
}
Accessor for the anchor properties |
public void setRow(double c) {
super.setY(c);
}
Accessor for the image position |
public void setWidth(double c) {
super.setWidth(c);
}
Accessor for the image dimensions
Note that the actual size of the rendered image will depend on the
width of the columns it spans |