public final class Border extends Object
Class representing characteristics of annotation border.
Constructor and Description |
---|
Border(Annotation parent)
Constructor for border object.
|
Modifier and Type | Method and Description |
---|---|
Dash |
getDash()
Gets dash pattern.
|
int |
getEffect()
Gets border effect.
|
int |
getEffectIntensity()
Gets effect intencity.
|
double |
getHCornerRadius()
Not supported yet.
|
int |
getStyle()
Gets border style.
|
double |
getVCornerRadius()
Gets vertical corner radius.
|
int |
getWidth()
Gets border width.
|
void |
setDash(Dash value)
Sets dash pattern.
|
void |
setEffect(int value)
Sets border effect.
|
void |
setEffectIntensity(int value)
Sets effect intencity.
|
void |
setHCornerRadius(double value)
Sets horizontal corner radius.
|
void |
setStyle(int value)
Sets border style.
|
void |
setWidth(int value)
Sets border width.
|
public Border(Annotation parent)
Constructor for border object.
parent
- Parent annotation.public final double getHCornerRadius()
Gets horizontal corner radius.
public final void setHCornerRadius(double value)
Sets horizontal corner radius.
value
- double valuepublic final double getVCornerRadius()
Gets vertical corner radius.
public int getWidth()
Gets border width.
public void setWidth(int value)
Sets border width.
value
- int valuepublic int getEffectIntensity()
Gets effect intencity. Valid range of value is [0..2].
public void setEffectIntensity(int value)
Sets effect intencity. Valid range of value is [0..2].
value
- int valuepublic int getStyle()
Gets border style.
BorderStyle
BorderStyle
public void setStyle(int value)
Sets border style.
BorderStyle
value
- BorderStyle elementpublic int getEffect()
Gets border effect.
BorderEffect
public void setEffect(int value)
Sets border effect.
BorderEffect
value
- BorderEffect elementpublic Dash getDash()
Gets dash pattern.
public void setDash(Dash value)
Sets dash pattern.
value
- Dash object