LineInfo

Inheritance: java.lang.Object, com.aspose.pdf.facades.LineInfo

public final class LineInfo extends Object

Represents the information of line.

Constructors

ConstructorDescription
LineInfo

Methods

MethodDescription
getBorderStyleGets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline.
getLineColorGets the color of a line.
getLineDashPatternGets the dash pattern of a line.
getLineWidthGets or sets the width of a line.
getVerticeCoordinateGets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex.
getVisibilityGets the visibility of a line.
setBorderStyleSets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline.
setBorderStyleSets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline.
setLineColorSets the color of a line.
setLineDashPatternSets the dash pattern of a line.
setLineWidthSets the width of a line.
setVerticeCoordinateSets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex.
setVisibilitySets the visibility of a line.

LineInfo

public LineInfo()

getBorderStyle

public BorderStyle getBorderStyle()

Gets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline.

Returns: int value

getLineColor

public Color getLineColor()

Gets the color of a line.

Returns: Color element

getLineDashPattern

public int[] getLineDashPattern()

Gets the dash pattern of a line.

Returns: array of int value

getLineWidth

public int getLineWidth()

Gets or sets the width of a line.

Returns: int value

getVerticeCoordinate

public float[] getVerticeCoordinate()

Gets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex.

Returns: array of float value

getVisibility

public boolean getVisibility()

Gets the visibility of a line.

Returns: boolean value

setBorderStyle

Sets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline.

setBorderStyle

public void setBorderStyle(int value)

Sets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline.

Parameters:

ParameterTypeDescription
valueint value

setLineColor

Sets the color of a line.

setLineDashPattern

public void setLineDashPattern(int[] value)

Sets the dash pattern of a line.

Parameters:

ParameterTypeDescription
valuearray of int value

setLineWidth

public void setLineWidth(int value)

Sets the width of a line.

Parameters:

ParameterTypeDescription
valueint value

setVerticeCoordinate

public void setVerticeCoordinate(float[] value)

Sets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex.

Parameters:

ParameterTypeDescription
valuearray of float value

setVisibility

public void setVisibility(boolean value)

Sets the visibility of a line.

Parameters:

ParameterTypeDescription
valueboolean value