BorderInfo

Overview

BorderInfo is a class in Aspose.Pdf FOSS for Java.

Represents border styling information for a content element such as a table, row, or cell.

Properties

NameTypeAccessDescription
topGraphInfoReadReturns the top border styling.
bottomGraphInfoReadReturns the bottom border styling.
leftGraphInfoReadReturns the left border styling.
rightGraphInfoReadReturns the right border styling.
roundedBorderRadiusdoubleReadReturns the rounded border corner radius.

Methods

SignatureDescription
BorderInfo()Creates a BorderInfo with no borders defined.
BorderInfo(side: BorderSide, width: double)Creates a BorderInfo that applies the same styling to the specified sides.
BorderInfo(side: BorderSide, width: double, color: Color)Creates a BorderInfo that applies the given color and width to the specified sides.
BorderInfo(side: BorderSide, info: GraphInfo)Creates a BorderInfo that applies the given {@link GraphInfo} to the specified sides.
getTop()GraphInfoReturns the top border styling.
setTop(top: GraphInfo)Sets the top border styling.
getBottom()GraphInfoReturns the bottom border styling.
setBottom(bottom: GraphInfo)Sets the bottom border styling.
getLeft()GraphInfoReturns the left border styling.
setLeft(left: GraphInfo)Sets the left border styling.
getRight()GraphInfoReturns the right border styling.
setRight(right: GraphInfo)Sets the right border styling.
getRoundedBorderRadius()doubleReturns the rounded border corner radius.
setRoundedBorderRadius(roundedBorderRadius: double)Sets the rounded border corner radius.

See Also