public interface ILcdVVGridRenderer
Note that X-axis decorations are rendered by a separate X-axis renderer
.
ILcdVVXAxisRenderer
,
TLcdDefaultVVRenderer
Modifier and Type | Method and Description |
---|---|
int |
getFontHeight() |
int |
getOrdinateLabelWidth(double aMinOrdinateAlt,
double aMaxOrdinateAlt,
double aOrdinateStep,
Graphics aGraphics) |
void |
paintGridLine(Graphics aGraphics,
int aX1,
int aY1,
int aX2,
int aY2)
Performs the rendering of a grid-line on the given Graphics.
|
void |
paintOrdinateLabel(double aValue,
double aStep,
Graphics aGraphics,
int aX,
int aY,
int aWidth)
Performs the rendering of a grid-label on the given Graphics.
|
void |
paintSubGridLine(Graphics aGraphics,
int aX1,
int aY1,
int aX2,
int aY2)
Performs the rendering of a subgrid-line on the given Graphics.
|
void paintSubGridLine(Graphics aGraphics, int aX1, int aY1, int aX2, int aY2)
void paintGridLine(Graphics aGraphics, int aX1, int aY1, int aX2, int aY2)
void paintOrdinateLabel(double aValue, double aStep, Graphics aGraphics, int aX, int aY, int aWidth)
aValue
- The value to paint.aStep
- How big is the step between each grid-line ( model values )aX
- The screen's X-position.aY
- The screen's Y-position (of the grid-line).aWidth
- The amount of width available for the label.int getFontHeight()
int getOrdinateLabelWidth(double aMinOrdinateAlt, double aMaxOrdinateAlt, double aOrdinateStep, Graphics aGraphics)
aMinOrdinateAlt
- the value indicated by the lowest grid lineaMaxOrdinateAlt
- the value indicated by the highest grid lineaGraphics
- the Graphics
the grid will be paint on