public class DoubleArrowGraph extends AbstractBaseUnitChart
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
LEVEL_X |
static int |
LEVEL_Y |
baseFont, contentByte, document, writer| 构造器和说明 |
|---|
DoubleArrowGraph(AbstractBaseChart baseChart,
com.itextpdf.text.pdf.PdfWriter writer,
com.itextpdf.text.pdf.PdfContentByte contentByte,
com.itextpdf.text.Document document) |
DoubleArrowGraph(com.itextpdf.text.pdf.PdfWriter writer,
com.itextpdf.text.pdf.PdfContentByte contentByte,
com.itextpdf.text.Document document) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
chart()
具体画图,需要实现的方法
|
DoubleArrowGraph |
setArrowLineWidth(float arrowLineWidth)
箭头线的宽度
|
DoubleArrowGraph |
setArrowWidth(float arrowWidth)
箭头的宽度
|
DoubleArrowGraph |
setColor(int color)
图形的颜色
|
DoubleArrowGraph |
setHeight(float height)
箭头的高度
|
DoubleArrowGraph |
setLevel(int level)
箭头所在的水平线:LEVEL_X or LEVEL_Y
|
DoubleArrowGraph |
setX(float x)
矩形的一个点的X坐标
|
DoubleArrowGraph |
setX0(float x0)
矩形的下一个点的X坐标
|
DoubleArrowGraph |
setY(float y)
矩形的一个点的Y坐标
|
DoubleArrowGraph |
setY0(float y0)
矩形的下一个点的Y坐标
|
getBaseChart, setBaseChart, setBaseFontpublic static final int LEVEL_X
public static final int LEVEL_Y
public DoubleArrowGraph(AbstractBaseChart baseChart, com.itextpdf.text.pdf.PdfWriter writer, com.itextpdf.text.pdf.PdfContentByte contentByte, com.itextpdf.text.Document document)
public DoubleArrowGraph(com.itextpdf.text.pdf.PdfWriter writer,
com.itextpdf.text.pdf.PdfContentByte contentByte,
com.itextpdf.text.Document document)
public void chart()
AbstractBaseUnitChartchart 在类中 AbstractBaseUnitChartpublic DoubleArrowGraph setX(float x)
x - public DoubleArrowGraph setY(float y)
y - public DoubleArrowGraph setX0(float x0)
x0 - public DoubleArrowGraph setY0(float y0)
y0 - public DoubleArrowGraph setHeight(float height)
height - public DoubleArrowGraph setArrowWidth(float arrowWidth)
arrowWidth - public DoubleArrowGraph setLevel(int level)
level - public DoubleArrowGraph setColor(int color)
color - public DoubleArrowGraph setArrowLineWidth(float arrowLineWidth)
arrowLineWidth - Copyright © 2019. All Rights Reserved.