Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1524 > unrolled thread

Point in java.awt.geom

Started by"visionset" <visionset@THRWHITE.remove-dii-this>
First post2011-04-27 15:33 +0000
Last post2011-04-27 15:33 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.gui


Contents

  Point in java.awt.geom "visionset" <visionset@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
    Re: Point in java.awt.geo "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000

#1524 — Point in java.awt.geom

From"visionset" <visionset@THRWHITE.remove-dii-this>
Date2011-04-27 15:33 +0000
SubjectPoint in java.awt.geom
Message-ID<BMuXh.28$eY1.2@newsfe2-win.ntli.net>
  To: comp.lang.java.gui
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?

-- 
Mike W

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#1553 — Re: Point in java.awt.geo

From"Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this>
Date2011-04-27 15:33 +0000
SubjectRe: Point in java.awt.geo
Message-ID<1177712273.418309.80940@t38g2000prd.googlegroups.com>
In reply to#1524
  To: comp.lang.java.gui
On Apr 24, 2:37 pm, "visionset" <s...@ntlworld.com> wrote:
> 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?
>
> --
> 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.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web