getRequiredHeightSpace method

int getRequiredHeightSpace(
  1. TextPainter p
)

Implementation

int getRequiredHeightSpace(TextPainter p) {
  p = PainterUtils.create(p, null, null, textSize);

  int height = Utils.calcTextHeight(p, "A");

  return height;
}