public class CPDFCircleAttr extends CPDFAnnotAttrBase implements IAttributeCallback
The attribute was used when creating Circle annotation
Modifier and Type | Method and Description |
---|---|
int |
getBorderAlpha()
Gets the line opacity of Circle annotation.
|
int |
getBorderColor()
Gets the color of Circle annotation, color value range 0x000000-0xFFFFFFF
|
CPDFBorderStyle |
getBorderStyle()
Gets the border style of Circle annotation.
|
float |
getBorderWidth()
Gets the line width of Circle annotation.
|
CPDFAnnotation.BorderEffectIntensity |
getEffectIntensity() |
CPDFAnnotation.CPDFBorderEffectType |
getEffectType() |
int |
getFillAlpha()
Gets the fill opacity of Circle annotation, opacity range 0-255
|
int |
getFillColor()
Gets the fill color of Circle annotation, color value range 0x000000-0xFFFFFF
|
void |
onload()
Loads the attribute of Circle annotation, this method does not need to be called by user.
|
void |
onstore()
Save the attribute of Circle annotation, this method does not need to be called by user.
|
void |
setBorderAlpha(int borderAlpha)
Sets the line opacity of Circle annotation.
|
void |
setBorderColor(int borderColor)
Sets the line color of Circle annotation, color value range 0x000000-0xFFFFFF
|
void |
setBorderStyle(CPDFBorderStyle borderStyle)
Sets the border style of Circle annotation.
|
void |
setBorderWidth(float borderWidth)
Sets the line width of Circle annotation.
|
void |
setEffectIntensity(CPDFAnnotation.BorderEffectIntensity effectIntensity) |
void |
setEffectType(CPDFAnnotation.CPDFBorderEffectType type) |
void |
setFillAlpha(int bgAlpha)
Sets the fill opacity of Circle annotation, opacity range 0-255
|
void |
setFillColor(int bgColor)
Sets the fill color of Circle annotation, color value range 0x000000-0xFFFFFF
|
public void setEffectType(CPDFAnnotation.CPDFBorderEffectType type)
public CPDFAnnotation.CPDFBorderEffectType getEffectType()
public CPDFAnnotation.BorderEffectIntensity getEffectIntensity()
public void setEffectIntensity(CPDFAnnotation.BorderEffectIntensity effectIntensity)
public int getBorderColor()
public void setBorderColor(int borderColor)
borderColor
- Line color.public int getBorderAlpha()
public void setBorderAlpha(int borderAlpha)
borderAlpha
- Line opacity.public int getFillColor()
public void setFillColor(int bgColor)
bgColor
- fill color.public int getFillAlpha()
public void setFillAlpha(int bgAlpha)
bgAlpha
- fukk opacity, opacity range 0-255public float getBorderWidth()
public void setBorderWidth(float borderWidth)
borderWidth
- Line width.public CPDFBorderStyle getBorderStyle()
public void setBorderStyle(CPDFBorderStyle borderStyle)
borderStyle
- Circle Border style of Circle annotationpublic void onload()
onload
in interface IAttributeCallback
public void onstore()
onstore
in interface IAttributeCallback