Class AxisBorderStyle
Defines a style class for axis borders which allows specifying thickness for each border side (top, left, bottom, right) and a color
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class AxisBorderStyle extends Style
Constructors
AxisBorderStyle(int color, boolean antiAliasing, float thickness)
Creates a new AxisBorderStyle instance with the same thickness for all sides
Declaration
public AxisBorderStyle(int color, boolean antiAliasing, float thickness)
Parameters
| Type | Name | Description |
|---|---|---|
| int | color | The border color |
| boolean | antiAliasing | Whether to use antialiasing |
| float | thickness | The thickness for all sides in pixels |
AxisBorderStyle(int color, boolean antiAliasing, float topThickness, float leftThickness, float bottomThickness, float rightThickness)
Creates a new AxisBorderStyle instance with individual thickness for each side
Declaration
public AxisBorderStyle(int color, boolean antiAliasing, float topThickness, float leftThickness, float bottomThickness, float rightThickness)
Parameters
| Type | Name | Description |
|---|---|---|
| int | color | The border color |
| boolean | antiAliasing | Whether to use antialiasing |
| float | topThickness | The thickness of the top border in pixels |
| float | leftThickness | The thickness of the left border in pixels |
| float | bottomThickness | The thickness of the bottom border in pixels |
| float | rightThickness | The thickness of the right border in pixels |
Fields
DEFAULT
Default axis border style with no borders
Declaration
public static final AxisBorderStyle DEFAULT
Field Value
| Type | Description |
|---|---|
antiAliasing
Whether to use antialiasing for border rendering
Declaration
public final boolean antiAliasing
Field Value
| Type | Description |
|---|---|
| boolean |
bottomThickness
The thickness of the bottom border in pixels
Declaration
public final float bottomThickness
Field Value
| Type | Description |
|---|---|
| float |
color
The border color
Declaration
public final int color
Field Value
| Type | Description |
|---|---|
| int |
leftThickness
The thickness of the left border in pixels
Declaration
public final float leftThickness
Field Value
| Type | Description |
|---|---|
| float |
rightThickness
The thickness of the right border in pixels
Declaration
public final float rightThickness
Field Value
| Type | Description |
|---|---|
| float |
topThickness
The thickness of the top border in pixels
Declaration
public final float topThickness
Field Value
| Type | Description |
|---|---|
| float |
Methods
equals(Object o)
Declaration
public boolean equals(Object o)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | o |
Returns
| Type | Description |
|---|---|
| boolean |
Overrides
getColor()
Gets the border color
Declaration
public int getColor()
Returns
| Type | Description |
|---|---|
| int | The border color |
hashCode()
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int |
Overrides
isBottomVisible()
Gets whether the bottom border is visible
Declaration
public boolean isBottomVisible()
Returns
| Type | Description |
|---|---|
| boolean | True if bottom border has thickness > 0 |
isLeftVisible()
Gets whether the left border is visible
Declaration
public boolean isLeftVisible()
Returns
| Type | Description |
|---|---|
| boolean | True if left border has thickness > 0 |
isRightVisible()
Gets whether the right border is visible
Declaration
public boolean isRightVisible()
Returns
| Type | Description |
|---|---|
| boolean | True if right border has thickness > 0 |
isTopVisible()
Gets whether the top border is visible
Declaration
public boolean isTopVisible()
Returns
| Type | Description |
|---|---|
| boolean | True if top border has thickness > 0 |
isVisible()
Gets whether at least one border side is visible
Declaration
public boolean isVisible()
Returns
| Type | Description |
|---|---|
| boolean | True if at least one border side has thickness > 0 and color is not transparent |