public class CPDFTextAttr extends CPDFAnnotAttrBase implements IAttributeCallback
The attribute was used when creating Note annotation
Constructor and Description |
---|
CPDFTextAttr(java.lang.String moduleName) |
Modifier and Type | Method and Description |
---|---|
int |
getAlpha()
Gets the opacity of Note annotation, opacity range 0-255
|
int |
getColor()
Gets the color of Note annotation, color value range 0x000000-0xFFFFFFF
|
void |
onload()
Loads the attribute of Note annotation, this method does not need to be called by user.
|
void |
onstore()
Saves the attribute of Note annotation, this method does not need to be called by user.
|
void |
setAlpha(int alpha)
Sets the opacity of Note annotation, opacity range 0-255
|
void |
setColor(int color)
Sets the color of Note 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 IAttributeCallback
public void onstore()
onstore
in interface IAttributeCallback