MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / draw

Method draw

src/org/albite/book/view/RulerRegion.java:33–43  ·  view source on GitHub ↗
(
            final Graphics g,
            final ColorScheme cp,
            final AlbiteFont fontPlain,
            final AlbiteFont fontItalic,
            final char[] chapterBuffer)

Source from the content-addressed store, hash-verified

31 }
32
33 public final void draw(
34 final Graphics g,
35 final ColorScheme cp,
36 final AlbiteFont fontPlain,
37 final AlbiteFont fontItalic,
38 final char[] chapterBuffer) {
39
40 g.setColor(cp.colors[color]);
41 int yy = y + (height / 2);
42 g.drawLine(x, yy, width, yy);
43 }
44
45 public final void drawSelected(
46 final Graphics g,

Callers

nothing calls this directly

Calls 1

setColorMethod · 0.80

Tested by

no test coverage detected