BorderInfo

Inheritance: java.lang.Object, com.aspose.pdf.BorderInfo

All Implemented Interfaces: com.aspose.ms.System.ICloneable

public final class BorderInfo extends Object implements com.aspose.ms.System.ICloneable

This class represents border for graphics elements.

Constructors

ConstructorDescription
BorderInfoInitializes a new instance of the {@code BorderInfo} class.
BorderInfoInitializes a new instance of the {@code BorderInfo} class.
BorderInfoInitializes a new instance of the {@code BorderInfo} class.
BorderInfoInitializes a new instance of the {@code BorderInfo} class.
BorderInfoInitializes a new instance of the {@code BorderInfo} class.
BorderInfoInitializes a new instance of the {@code BorderInfo} class.

Methods

MethodDescription
deepCloneClones a new BorderInfo object.
getBottomGets object that indicates bottom of the border.
getLeftGets {@code GraphInfo} object that indicates left of the border.
getRightGets {@code GraphInfo} object that indicates right of the border.
getRoundedBorderRadiusGets rounded border radius.
getTopGets {@code GraphInfo} object that indicates the top border.
setBottomSets object that indicates bottom of the border.
setLeftSets {@code GraphInfo} object that indicates left of the border.
setRightSets {@code GraphInfo} object that indicates right of the border.
setRoundedBorderRadiusSets rounded border radius.
setTopSets {@code GraphInfo} object that indicates top of the border.

BorderInfo

public BorderInfo()

Initializes a new instance of the {@code BorderInfo} class.

BorderInfo

public BorderInfo(int borderSide)

Initializes a new instance of the {@code BorderInfo} class.

Parameters:

ParameterTypeDescription
borderSideIndicates the border sides info. For example: (BorderSide.Left | BorderSide.Top).

BorderInfo

Initializes a new instance of the {@code BorderInfo} class.

BorderInfo

public BorderInfo(int borderSide, float borderWidth)

Initializes a new instance of the {@code BorderInfo} class.

Parameters:

ParameterTypeDescription
borderSideIndicates the border sides info. For example: (BorderSide.Left | BorderSide.Top).
borderWidthThe width of the border.

BorderInfo

Initializes a new instance of the {@code BorderInfo} class.

BorderInfo

Initializes a new instance of the {@code BorderInfo} class.

deepClone

public Object deepClone()

Clones a new BorderInfo object.

Returns: The new BorderInfo object.

getBottom

public GraphInfo getBottom()

Gets object that indicates bottom of the border.

Returns: bottom

getLeft

public GraphInfo getLeft()

Gets {@code GraphInfo} object that indicates left of the border.

Returns: object that indicates left of the border.

getRight

public GraphInfo getRight()

Gets {@code GraphInfo} object that indicates right of the border.

Returns: object that indicates right of the border.

getRoundedBorderRadius

public double getRoundedBorderRadius()

Gets rounded border radius.

Returns: value

getTop

public GraphInfo getTop()

Gets {@code GraphInfo} object that indicates the top border.

Returns: object that indicates the top border

setBottom

Sets object that indicates bottom of the border.

setLeft

Sets {@code GraphInfo} object that indicates left of the border.

setRight

Sets {@code GraphInfo} object that indicates right of the border.

setRoundedBorderRadius

public void setRoundedBorderRadius(double value)

Sets rounded border radius.

Parameters:

ParameterTypeDescription
valuedouble value

setTop

Sets {@code GraphInfo} object that indicates top of the border.