public class CPDFSquigglyAttr extends CPDFAnnotAttrBase implements IAttributeCallback
The attribute used when creating the Squiggly annotation
| Modifier and Type | Method and Description |
|---|---|
int |
getAlpha()
Gets the opacity of Squiggly annotation, opaciy range 0-255
|
int |
getColor()
Gets the color of Squiggly annotation, color value range 0x000000-0xFFFFFFF
|
void |
onload()
Loads the attribute of Squiggly annotation, this method does not need to be called by user.
|
void |
onstore()
Saves the attribute of Squiggly annotation, this method does not need to be called by user.
|
void |
setAlpha(int alpha)
Sets the opacity of Squiggly annotation, opaciy range 0-255
|
void |
setColor(int color)
Sets the color of Squiggly annotation, color value range 0x000000-0xFFFFFFF
|
public int getColor()
public void setColor(int color)
color - Color, color value range 0x000000-0xFFFFFFFpublic int getAlpha()
public void setAlpha(int alpha)
alpha - Opacity, range 0-255public void onload()
onload in interface IAttributeCallbackpublic void onstore()
onstore in interface IAttributeCallback