Given that AWT is not supported in Android API, the Point2D class, which is useful for writing 2D graphics, is missing either.
Point2D is traditionally accessible under java.awt.geom package but not dependent on the AWT framework so why was it not included in Android API? The answer is, Android have Point and PointF classes. Although among the two, PointF is my personal favorite.
Other Point class alternative
I've introduced JASAfA earlier, which happens to have another Point class which works like its ActionScript-counterpart. JASAfA's Point class is accessible under droid.geom package.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment