Cache AWT color.

This speeds up path rendering.
Remove unnused imports.
Fix curvature calculation on findPath.
Remove pointCount lookups.

pointCount() is an expensive call, and avoiding it can speed up path
rendering in general.
Remove unnused imports.
Add position accessor to Rect.