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 void
addTime(TimeTick time)
void
drawTimeAxis(UGraphic ug, TimeAxisStategy timeAxisStategy, Map<String,TimeTick> codes)
void
drawVlines(UGraphic ug, double height)
void
ensureNotEmpty()
double
getHeight(StringBounder stringBounder)
double
getPosInPixel(TimeTick when)
double
getWidth()
void
scaleInPixels(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)
-
-