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