getY method

double getY()

Implementation

double getY() {
  if (isParent()) {
    return 0;
  }
  return offset.dy;
}