| Constructor and Description |
|---|
SheetImage(byte[] data,
String mimeType)
Creates an image from raw bytes and MIME type.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAnchorColumn()
Returns the anchor column index.
|
Integer |
getAnchorRow()
Returns the anchor row index.
|
byte[] |
getData()
Returns a copy of the image bytes.
|
String |
getHeight()
Returns the image height.
|
String |
getMimeType()
Returns the image MIME type.
|
String |
getName()
Returns the image name.
|
String |
getPath()
Returns the internal path for this image.
|
String |
getWidth()
Returns the image width.
|
String |
getX()
Returns the X position.
|
String |
getY()
Returns the Y position.
|
void |
setAnchorColumn(Integer anchorColumn)
Sets the anchor column index.
|
void |
setAnchorRow(Integer anchorRow)
Sets the anchor row index.
|
void |
setHeight(String height)
Sets the image height.
|
void |
setName(String name)
Sets the image name.
|
void |
setWidth(String width)
Sets the image width.
|
void |
setX(String x)
Sets the X position.
|
void |
setY(String y)
Sets the Y position.
|
public SheetImage(byte[] data,
String mimeType)
data - The raw image bytes.mimeType - The image MIME type (image/png for example).public String getPath()
public String getName()
public String getMimeType()
public byte[] getData()
public String getWidth()
public String getHeight()
public String getX()
public String getY()
public Integer getAnchorRow()
public Integer getAnchorColumn()
public void setName(String name)
name - The image name.public void setWidth(String width)
width - The width value.public void setHeight(String height)
height - The height value.public void setX(String x)
x - The X position value.public void setY(String y)
y - The Y position value.public void setAnchorRow(Integer anchorRow)
anchorRow - The anchor row.public void setAnchorColumn(Integer anchorColumn)
anchorColumn - The anchor column.Copyright © 2026. All rights reserved.