Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / April 2007

Tip: Looking for answers? Try searching our database.

Point in java.awt.geom

Thread view: 
visionset - 24 Apr 2007 22:37 GMT
Why is there nothing in java.awt.geom that uses a Point?
I want Path type objects and I want to construct them with eg an array of
Points.
GeneralPath etc, they all deal with primitives.
Why is that?

Signature

Mike W

Daniel Pitts - 27 Apr 2007 23:17 GMT
> Why is there nothing in java.awt.geom that uses a Point?
> I want Path type objects and I want to construct them with eg an array of
[quoted text clipped - 4 lines]
> --
> Mike W

Actually, a lot of them use Point2D.

Although, its easy enough to use Point.getX() and Point.getY().

I agree though, it would be nice to have Path2D support Point2D as end
points.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.