align = 0.0F;
switch (justification) { case StyleConstants.ALIGN_RIGHT: align = 1.0F; break; case StyleConstants.ALIGN_CENTER: case StyleConstants.ALIGN_JUSTIFIED: align = 0.5F; break; case StyleConstants.ALIGN_LEFT: default: align = 0.0F; }
    public float getAlignment(int axis)    {      float align;      if (axis == X_AXIS)        align = 0.0F; // TODO: Implement according to justification      else        align = super.getAlignment(axis);      return align;    }