public final class LineInfo extends Object
Represents the information of line.
Constructor and Description |
---|
LineInfo() |
Modifier and Type | Method and Description |
---|---|
int |
getBorderStyle()
Gets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents
beleved, 3 represents insert, 4 represents underline.
|
Color |
getLineColor()
Gets the color of a line.
|
int[] |
getLineDashPattern()
Gets the dash pattern of a line.
|
int |
getLineWidth()
Gets or sets the width of a line.
|
float[] |
getVerticeCoordinate()
Gets an array of numbers representing the alternating horizontal and vertical,coordinates,
respectively, of each vertex.
|
boolean |
getVisibility()
Gets the visibility of a line.
|
void |
setBorderStyle(int value)
Sets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents
beleved, 3 represents insert, 4 represents underline.
|
void |
setLineColor(Color value)
Sets the color of a line.
|
void |
setLineDashPattern(int[] value)
Sets the dash pattern of a line.
|
void |
setLineWidth(int value)
Sets the width of a line.
|
void |
setVerticeCoordinate(float[] value)
Sets an array of numbers representing the alternating horizontal and vertical,coordinates,
respectively, of each vertex.
|
void |
setVisibility(boolean value)
Sets the visibility of a line.
|
public float[] getVerticeCoordinate()
Gets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex.
public void setVerticeCoordinate(float[] value)
Sets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex.
value
- array of float valuepublic Color getLineColor()
Gets the color of a line.
public void setLineColor(Color value)
Sets the color of a line.
value
- Color elementpublic int getLineWidth()
Gets or sets the width of a line.
public void setLineWidth(int value)
Sets the width of a line.
value
- int valuepublic boolean getVisibility()
Gets the visibility of a line.
public void setVisibility(boolean value)
Sets the visibility of a line.
value
- boolean valuepublic int[] getLineDashPattern()
Gets the dash pattern of a line.
public void setLineDashPattern(int[] value)
Sets the dash pattern of a line.
value
- array of int valuepublic int getBorderStyle()
Gets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beleved, 3 represents insert, 4 represents underline.
public void setBorderStyle(int value)
Sets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beleved, 3 represents insert, 4 represents underline.
value
- int value