/** * @since Available in iOS 2.0 and later. */ @Bridge(symbol="CGRectGetMaxY", optional=true) private static native @MachineSizedFloat double getMaxY(@ByVal CGRect rect); /**
/** * @since Available in iOS 2.0 and later. */ @Bridge(symbol="CGRectGetMaxY", optional=true) private static native @MachineSizedFloat double getMaxY(@ByVal CGRect rect); /**
/** * @since Available in iOS 2.0 and later. */ @Bridge(symbol="CGRectGetMaxY", optional=true) private static native @MachineSizedFloat double getMaxY(@ByVal CGRect rect); /**
context.moveToPoint(boxRect.getMinX() + radius, boxRect.getMinY()); context.addArc(boxRect.getMaxX() - radius, boxRect.getMinY() + radius, radius, 3 * Math.PI / 2, 0, false); context.addArc(boxRect.getMaxX() - radius, boxRect.getMaxY() - radius, radius, 0, Math.PI / 2, false); context.addArc(boxRect.getMinX() + radius, boxRect.getMaxY() - radius, radius, Math.PI / 2, Math.PI, false); context.addArc(boxRect.getMinX() + radius, boxRect.getMinY() + radius, radius, Math.PI, 3 * Math.PI / 2, false); context.closePath();