LineInfo
Inheritance: java.lang.Object
public final class LineInfo
Represents the information of line.
Constructors
Constructor | Description |
---|---|
LineInfo() |
Methods
Method | Description |
---|---|
getVerticeCoordinate() | Gets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex. |
setVerticeCoordinate(float[] value) | Sets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex. |
getLineColor() | Gets the color of a line. |
setLineColor(Color value) | Sets the color of a line. |
getLineWidth() | Gets or sets the width of a line. |
setLineWidth(int value) | Sets the width of a line. |
getVisibility() | Gets the visibility of a line. |
setVisibility(boolean value) | Sets the visibility of a line. |
getLineDashPattern() | Gets the dash pattern of a line. |
setLineDashPattern(int[] value) | Sets the dash pattern of a line. |
getBorderStyle() | Gets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beleved, 3 represents insert, 4 represents underline. |
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. |
LineInfo()
public LineInfo()
getVerticeCoordinate()
public float[] getVerticeCoordinate()
Gets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex.
Returns: float[] - array of float value
setVerticeCoordinate(float[] value)
public void setVerticeCoordinate(float[] value)
Sets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float[] | array of float value |
getLineColor()
public Color getLineColor()
Gets the color of a line.
Returns: Color - Color element
setLineColor(Color value)
public void setLineColor(Color value)
Sets the color of a line.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.Color | Color element |
getLineWidth()
public int getLineWidth()
Gets or sets the width of a line.
Returns: int - int value
setLineWidth(int value)
public void setLineWidth(int value)
Sets the width of a line.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | int value |
getVisibility()
public boolean getVisibility()
Gets the visibility of a line.
Returns: boolean - boolean value
setVisibility(boolean value)
public void setVisibility(boolean value)
Sets the visibility of a line.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | boolean value |
getLineDashPattern()
public int[] getLineDashPattern()
Gets the dash pattern of a line.
Returns: int[] - array of int value
setLineDashPattern(int[] value)
public void setLineDashPattern(int[] value)
Sets the dash pattern of a line.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int[] | array of int value |
getBorderStyle()
public int getBorderStyle()
Gets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beleved, 3 represents insert, 4 represents underline.
Returns: int - int value
setBorderStyle(int value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | int value |