Ejemplo n.º 1
0
 /**
  * @return justificationData from the ParagraphRow this GlyphView is in or {@code null} if no
  *     justification is needed
  */
 private int[] getJustificationData(GlyphView v) {
   View parent = v.getParent();
   int[] ret = null;
   if (parent instanceof ParagraphView.Row) {
     ParagraphView.Row row = ((ParagraphView.Row) parent);
     ret = row.justificationData;
   }
   return ret;
 }