Border

Inheritance: java.lang.Object

public final class Border

Class representing characteristics of annotation border.

Constructors

ConstructorDescription
Border(Annotation parent)Constructor for border object.

Methods

MethodDescription
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:

ParameterTypeDescription
parentAnnotationParent 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:

ParameterTypeDescription
valuedoubledouble 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:

ParameterTypeDescription
valueintint 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:

ParameterTypeDescription
valueintint 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:

ParameterTypeDescription
valueintBorderStyle 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:

ParameterTypeDescription
valueintBorderEffect element

getDash()

public Dash getDash()

Gets dash pattern.

Returns: Dash - Dash object

setDash(Dash value)

public void setDash(Dash value)

Sets dash pattern.

Parameters:

ParameterTypeDescription
valueDashDash object