Class TimingRuler
- java.lang.Object
-
- net.sourceforge.plantuml.timingdiagram.TimingRuler
-
public class TimingRuler extends Object
-
-
Constructor Summary
Constructors Constructor Description TimingRuler(ISkinParam skinParam)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTime(TimeTick time)voiddrawTimeAxis(UGraphic ug, TimeAxisStategy timeAxisStategy, Map<String,TimeTick> codes)voiddrawVlines(UGraphic ug, double height)voidensureNotEmpty()doublegetHeight(StringBounder stringBounder)doublegetPosInPixel(TimeTick when)doublegetWidth()voidscaleInPixels(long tick, long pixel)
-
-
-
Constructor Detail
-
TimingRuler
public TimingRuler(ISkinParam skinParam)
-
-
Method Detail
-
ensureNotEmpty
public void ensureNotEmpty()
-
scaleInPixels
public void scaleInPixels(long tick, long pixel)
-
getWidth
public double getWidth()
-
getPosInPixel
public final double getPosInPixel(TimeTick when)
-
addTime
public void addTime(TimeTick time)
-
drawTimeAxis
public void drawTimeAxis(UGraphic ug, TimeAxisStategy timeAxisStategy, Map<String,TimeTick> codes)
-
drawVlines
public void drawVlines(UGraphic ug, double height)
-
getHeight
public double getHeight(StringBounder stringBounder)
-
-