GraphInfo

Overview

GraphInfo is a class in Aspose.Pdf FOSS for Java.

Holds graphical properties for a single border side (color, line width, dash pattern).

Properties

NameTypeAccessDescription
colorColorReadReturns the border line color.
lineWidthdoubleReadReturns the border line width in points.
dashArrayfloat[]ReadReturns the dash array for dashed borders.
dashPhasedoubleReadReturns the dash phase offset.

Methods

SignatureDescription
GraphInfo()Creates a GraphInfo with default values (black, 1pt width).
getColor()ColorReturns the border line color.
setColor(color: Color)Sets the border line color.
getLineWidth()doubleReturns the border line width in points.
setLineWidth(lineWidth: double)Sets the border line width in points.
getDashArray()float[]Returns the dash array for dashed borders.
setDashArray(dashArray: float[])Sets the dash array for dashed borders.
getDashPhase()doubleReturns the dash phase offset.
setDashPhase(dashPhase: double)Sets the dash phase offset.

See Also