public class HorizontalRulerUI extends RulerUI
rulerComponent
构造器和说明 |
---|
HorizontalRulerUI(ScrollRulerComponent rulerComponent) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
paintPTRuler(java.awt.Graphics g,
int extra,
java.awt.Dimension size,
int unit) |
protected void |
paintRuler(java.awt.Graphics g,
int showText,
int extra,
java.awt.Dimension size,
int ratio) |
getunit, paint, pxToLength, toPX
public HorizontalRulerUI(ScrollRulerComponent rulerComponent)
protected void paintRuler(java.awt.Graphics g, int showText, int extra, java.awt.Dimension size, int ratio)
paintRuler
在类中 RulerUI
protected void paintPTRuler(java.awt.Graphics g, int extra, java.awt.Dimension size, int unit)
paintPTRuler
在类中 RulerUI