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
| Constructor | Description |
|---|---|
| BorderInfo | Initializes a new instance of the {@code BorderInfo} class. |
| BorderInfo | Initializes a new instance of the {@code BorderInfo} class. |
| BorderInfo | Initializes a new instance of the {@code BorderInfo} class. |
| BorderInfo | Initializes a new instance of the {@code BorderInfo} class. |
| BorderInfo | Initializes a new instance of the {@code BorderInfo} class. |
| BorderInfo | Initializes a new instance of the {@code BorderInfo} class. |
Methods
| Method | Description |
|---|---|
| deepClone | Clones a new BorderInfo object. |
| getBottom | Gets object that indicates bottom of the border. |
| getLeft | Gets {@code GraphInfo} object that indicates left of the border. |
| getRight | Gets {@code GraphInfo} object that indicates right of the border. |
| getRoundedBorderRadius | Gets rounded border radius. |
| getTop | Gets {@code GraphInfo} 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 | Sets rounded border radius. |
| setTop | Sets {@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:
| Parameter | Type | Description |
|---|---|---|
| borderSide | Indicates 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:
| Parameter | Type | Description |
|---|---|---|
| borderSide | Indicates the border sides info. For example: (BorderSide.Left | BorderSide.Top). | |
| borderWidth | The 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:
| Parameter | Type | Description |
|---|---|---|
| value | double value |
setTop
Sets {@code GraphInfo} object that indicates top of the border.