Element el = getElement(); return el.getStartOffset();
int pos;    Rectangle r = (Rectangle) a; if (x < r.x + r.width / 2) { b[0] = Position.Bias.Forward; pos = getStartOffset(); } else { b[0] = Position.Bias.Backward; pos = getEndOffset(); } return pos;
  public int viewToModel(float x, float y, Shape a, Position.Bias[] b)  {    // The element should only have one character position and it is clear    // that this position is the position that best matches the given screen    // coordinates, simply because this view has only this one position.    Element el = getElement();    return el.getStartOffset();  }