public class SpenContentImage extends SpenContentBase
SpenContentBase since 5.0.0.STATE_CANCELED, STATE_DONE, STATE_EXCEPTION, STATE_FAIL, STATE_INIT, STATE_NONE, STATE_READY, STATE_RUNNING, TASK_BULLET, TASK_DONE, TASK_NONE, TASK_NUMBER, TASK_TODO, TYPE_DRAWING, TYPE_HANDWRITING, TYPE_IMAGE, TYPE_NONE, TYPE_TEXT| Constructor and Description |
|---|
SpenContentImage()
Creates an SpenContentImage instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
copy(SpenContentBase source)
Copy data from the specified content.
|
int |
getParagraphNumber()
Get the paragraph number of image content.
|
float |
getRatio()
Get the ratio of image
|
void |
setParagraphNumber(int number)
Set the paragraph number of image content.
|
void |
setRatio(float ratio)
Set the ratio of image
|
appendSpan, clearChangedFlag, equals, findSpan, getItemHeight, getLength, getSpan, getState, getTaskId, getTaskNumber, getTaskStyle, getText, getThumbnailPath, getType, isChanged, removeSpan, setItemHeight, setSpan, setState, setTaskId, setTaskNumber, setTaskStyle, setText, setThumbnailPathpublic SpenContentImage()
public void setParagraphNumber(int number)
number - Paragraph numberpublic int getParagraphNumber()
public void copy(SpenContentBase source)
copy in class SpenContentBasesource - The source content.IllegalArgumentException - Thrown if class type is different.
Or if source is null.public void setRatio(float ratio)
ratio - ratiopublic float getRatio()