SaveOptions.BorderPartStyle
Contents
[
Hide
]Inheritance: java.lang.Object
public static class SaveOptions.BorderPartStyle
Represents information of one part of border(top, bottom, left side or right side)
Constructors
| Constructor | Description |
|---|---|
| BorderPartStyle() |
Methods
| Method | Description |
|---|---|
| getWidthInPoints() | Represents border line’s width in points. |
| setWidthInPoints(int value) | Represents border line’s width in points. |
| getColor() | Represents border line’s line color |
| setColor(Color color) | Represents border line’s line color |
| getLineType() | Represents border line’s type - f.e. |
| setLineType(int lineType) | Represents border line’s type - f.e. |
BorderPartStyle()
public BorderPartStyle()
getWidthInPoints()
public int getWidthInPoints()
Represents border line’s width in points. Must be number greater then zero.
Returns: int - int value
setWidthInPoints(int value)
public void setWidthInPoints(int value)
Represents border line’s width in points. Must be number greater then zero.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | int value |
getColor()
public Color getColor()
Represents border line’s line color
Returns: Color - java.awt.Color instance
setColor(Color color)
public void setColor(Color color)
Represents border line’s line color
Parameters:
| Parameter | Type | Description |
|---|---|---|
| color | java.awt.Color | java.awt.Color instance |
getLineType()
public int getLineType()
Represents border line’s type - f.e. Dashed or Solid
Returns: int - HtmlBorderLineType element
setLineType(int lineType)
public void setLineType(int lineType)
Represents border line’s type - f.e. Dashed or Solid
Parameters:
| Parameter | Type | Description |
|---|---|---|
| lineType | int | HtmlBorderLineType element |