[4614] in java-interest

home help back first fref pref prev next nref lref last post

drawRect() -- Why, oh why?

daemon@ATHENA.MIT.EDU (Christopher Helck)
Tue Jan 9 14:15:25 1996

Date: Tue, 9 Jan 1996 10:25:32 -0500
From: chris@tkna.com (Christopher Helck)
To: java-interest@java.Eng.Sun.COM


Why does drawRect(x, y, width, height) draw a rectangle width+1 pixels wide
and height+1 high, while fillRect(x, y, width, height) draws a solid rectangle
width pixels wide and hieght pixels tall?  The documentation indicates that
this is a feature of drawRect() and not a bug. Why?
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post