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
| Name | Type | Access | Description |
|---|---|---|---|
top | GraphInfo | Read | Returns the top border styling. |
bottom | GraphInfo | Read | Returns the bottom border styling. |
left | GraphInfo | Read | Returns the left border styling. |
right | GraphInfo | Read | Returns the right border styling. |
roundedBorderRadius | double | Read | Returns the rounded border corner radius. |
Methods
| Signature | Description |
|---|---|
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() → GraphInfo | Returns the top border styling. |
setTop(top: GraphInfo) | Sets the top border styling. |
getBottom() → GraphInfo | Returns the bottom border styling. |
setBottom(bottom: GraphInfo) | Sets the bottom border styling. |
getLeft() → GraphInfo | Returns the left border styling. |
setLeft(left: GraphInfo) | Sets the left border styling. |
getRight() → GraphInfo | Returns the right border styling. |
setRight(right: GraphInfo) | Sets the right border styling. |
getRoundedBorderRadius() → double | Returns the rounded border corner radius. |
setRoundedBorderRadius(roundedBorderRadius: double) | Sets the rounded border corner radius. |