Hello,
When considering android.graphics library as an alternative to the java.awt
library, there are some classes that cannot exactly match to the awt
library such as Point2D.Double which takes 'double' as x and y values. The
similar class provided in Android is PointF which takes 'float' as x and y.
Would that be a problem if a simple cast used to make this work or is it a
better idea to extend the class manually to use double, as there might be
some data losses when casting double to float.
Regards,
Sisinda Dinusha