public final class BorderInfo extends Object implements com.aspose.ms.System.ICloneable
This class represents border for graphics elements.
| Constructor and Description |
|---|
BorderInfo()
Initializes a new instance of the
BorderInfo class. |
BorderInfo(int borderSide)
Initializes a new instance of the
BorderInfo class. |
BorderInfo(int borderSide,
Color borderColor)
Initializes a new instance of the
BorderInfo class. |
BorderInfo(int borderSide,
float borderWidth)
Initializes a new instance of the
BorderInfo class. |
BorderInfo(int borderSide,
float borderWidth,
Color borderColor)
Initializes a new instance of the
BorderInfo class. |
BorderInfo(int borderSide,
GraphInfo borderStyle)
Initializes a new instance of the
BorderInfo class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Clones a new BorderInfo object.
|
GraphInfo |
getBottom()
Gets object that indicates bottom of the border.
|
GraphInfo |
getLeft()
Gets
GraphInfo object that indicates left of the border. |
GraphInfo |
getRight()
Gets
GraphInfo object that indicates right of the border. |
double |
getRoundedBorderRadius()
Gets rounded border radius.
|
GraphInfo |
getTop()
Gets
GraphInfo object that indicates the top border. |
void |
setBottom(GraphInfo value)
Sets object that indicates bottom of the border.
|
void |
setLeft(GraphInfo value)
Sets
GraphInfo object that indicates left of the border. |
void |
setRight(GraphInfo value)
Sets
GraphInfo object that indicates right of the border. |
void |
setRoundedBorderRadius(double value)
Sets rounded border radius.
|
void |
setTop(GraphInfo value)
Sets
GraphInfo object that indicates top of the border. |
public BorderInfo(int borderSide,
Color borderColor)
Initializes a new instance of the BorderInfo class.
borderSide - Indicates the border sides info. For example: (int)(BorderSide.Left | BorderSide.Top).borderColor - The border color.public BorderInfo()
Initializes a new instance of the BorderInfo class.
public BorderInfo(int borderSide)
Initializes a new instance of the BorderInfo class.
borderSide - Indicates the border sides info. For example: (BorderSide.Left | BorderSide.Top).public BorderInfo(int borderSide,
float borderWidth)
Initializes a new instance of the BorderInfo class.
borderSide - Indicates the border sides info. For example: (BorderSide.Left | BorderSide.Top).borderWidth - The width of the border.public BorderInfo(int borderSide,
float borderWidth,
Color borderColor)
Initializes a new instance of the BorderInfo class.
borderSide - Indicates the border sides info. For example: (BorderSide.Left | BorderSide.Top).borderWidth - The width of the border.borderColor - The border color.public BorderInfo(int borderSide,
GraphInfo borderStyle)
Initializes a new instance of the BorderInfo class.
borderSide - Indicates the border sides info. For example: (BorderSide.Left | BorderSide.Top).borderStyle - The border format info.public GraphInfo getLeft()
Gets GraphInfo object that indicates left of the border.
public void setLeft(GraphInfo value)
Sets GraphInfo object that indicates left of the border.
value - indicator.public GraphInfo getRight()
Gets GraphInfo object that indicates right of the border.
public void setRight(GraphInfo value)
Sets GraphInfo object that indicates right of the border.
value - indicator.public GraphInfo getTop()
Gets GraphInfo object that indicates the top border.
public void setTop(GraphInfo value)
Sets GraphInfo object that indicates top of the border.
value - indicator.public GraphInfo getBottom()
Gets object that indicates bottom of the border.
public void setBottom(GraphInfo value)
Sets object that indicates bottom of the border.
value - GraphInfo valuepublic double getRoundedBorderRadius()
Gets rounded border radius.
public void setRoundedBorderRadius(double value)
Sets rounded border radius.
value - double valuepublic Object deepClone()
Clones a new BorderInfo object.
deepClone in interface com.aspose.ms.System.ICloneableCopyright © 2025 Aspose. All Rights Reserved.