widthHeightRatio = shape.prefWidth(-1) / shape.prefHeight(-1); if (getSize() != Region.USE_COMPUTED_SIZE) { setSizeRatio(getSize());
widthHeightRatio = shape.prefWidth(-1) / shape.prefHeight(-1); if (getSize() != Region.USE_COMPUTED_SIZE) { setSizeRatio(getSize());