public class Absorptionline
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static Absorptionline |
createEquidistantAbsorptionline(java.awt.Rectangle equidistantStart,
int top,
int left,
int bottom,
int right)
创建等距线
|
static Absorptionline |
createXAbsorptionline(int x)
创建X轴连接线
|
static Absorptionline |
createXMidAbsorptionline(int x)
创建X中轴连接线
|
static Absorptionline |
createYAbsorptionline(int y)
创建Y轴连接线
|
static Absorptionline |
createYMidAbsorptionline(int y)
创建Y中轴连接线
|
int[] |
getHorizontalLines() |
int[] |
getVerticalLines() |
boolean |
isFull()
是否相关参数都已设置完毕
|
void |
paint(java.awt.Graphics g,
ScrollRulerComponent designer) |
void |
setFirstLine(java.lang.Integer x) |
void |
setHorizontalLines(int[] horizontalLines) |
void |
setMidLine(java.lang.Integer x) |
void |
setSecondLine(java.lang.Integer x) |
void |
setVerticalLines(int[] verticalLines) |
public static Absorptionline createXAbsorptionline(int x)
x
- x坐标public static Absorptionline createXMidAbsorptionline(int x)
x
- x坐标public static Absorptionline createYAbsorptionline(int y)
y
- y坐标public static Absorptionline createYMidAbsorptionline(int y)
y
- y坐标public static Absorptionline createEquidistantAbsorptionline(java.awt.Rectangle equidistantStart, int top, int left, int bottom, int right)
public void setFirstLine(java.lang.Integer x)
public void setMidLine(java.lang.Integer x)
public void setSecondLine(java.lang.Integer x)
public boolean isFull()
public int[] getVerticalLines()
public void setVerticalLines(int[] verticalLines)
public int[] getHorizontalLines()
public void setHorizontalLines(int[] horizontalLines)
public void paint(java.awt.Graphics g, ScrollRulerComponent designer)