getHeight function

double getHeight(
  1. double height
)

Implementation

double getHeight(double height) {
  if (useOriginSize) {
    return height;
  }
  try {
    return height.h;
  } catch (e) {
    return height;
  }
}