double spR(double percent) { if (orientation == Orientation.landscape) { return (height / 3) * percent / 100; } return (width / 3) * percent / 100; }