odontogram A Java library to generate odontogram ======= Sample Usage Full Example Source code : Example.java Sample Code Preview Code Tooth g18 = odontogram.getTooth(18); Box boxTop18NON = g18.buildBoxForTop(Size.HALF_BOX_HEIGHT); g18.prependBoxForTop(boxTop18NON); boxTop18NON.buildThenAddLayer(Label.class).with("NON"); Box boxCenter18 = g18.buildBoxForTop(Size.BOX_HEIGHT); g18.replaceBoxForCenter(boxCenter18); boxCenter18.buildThenAddLayer(Molar.class); Tooth g15 = odontogram.getTooth(15); Box boxCenter15 = g15.buildBoxForTop(Size.BOX_HEIGHT); g15.replaceBoxForCenter(boxCenter15); boxCenter15.buildThenAddLayer(Molar.class); boxCenter15.buildThenAddLayer(X.class); </td> </tr> <tr> <td> <img src="https://user-images.githubusercontent.com/55460/27057843-14fe971a-4ff8-11e7-9253-08c71bb05a9e.png"/> </td> <td> Tooth g14 = odontogram.getTooth(14); Box boxCenter14 = g14.buildBoxForTop(Size.BOX_HEIGHT); g14.replaceBoxForCenter(boxCenter14); boxCenter14.buildThenAddLayer(Molar.class); boxCenter14.buildThenAddLayer(Rectangle.class).with(StrokeStyle.BASIC, Color.BLACK, true); </td> </tr> 18, 15, 14, 22, 26 55, 45, 44, 43 38