getH static method

double getH(
  1. Element element
)

Implementation

static double getH(Element element) {
  return getSize(element)?.height ?? 0;
}