Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38845
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Knute Johnson <groups@585ranch.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Graphics2D#fill3DRect? |
| Date | Sun, 31 Mar 2019 18:06:01 -0500 |
| Organization | A noiseless patient Spider |
| Lines | 24 |
| Message-ID | <q7rh4q$unj$1@dont-email.me> (permalink) |
| References | <q7rad8$77s$1@dont-email.me> <3D-20190331222950@ram.dialup.fu-berlin.de> <pixel-20190331225715@ram.dialup.fu-berlin.de> <color-20190331230425@ram.dialup.fu-berlin.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sun, 31 Mar 2019 23:06:03 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="3f8a57ba562e8b6ba7ddcfb8efedd06e"; logging-data="31475"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HWDkcdufsQ9L2RYfBMXV7" |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
| Cancel-Lock | sha1:nR6szVl43fE8JupbnSbktw/9G3E= |
| In-Reply-To | <color-20190331230425@ram.dialup.fu-berlin.de> |
| Content-Language | en-US |
| Xref | csiph.com comp.lang.java.programmer:38845 |
Show key headers only | View raw
On 3/31/2019 5:04 PM, Stefan Ram wrote: > ram@zedat.fu-berlin.de (Stefan Ram) writes: >> Today, with "retina" displays, a pixel is nothing. > > There once was the recommendation to set the rectangle color > equal to the background color for this method. If you do > this, in fact, you can see some kind of 3D rectangle without > magnification, so, > > g.setColor( java.awt.Color.GRAY ); > g.fill( b ); > g.fill3DRect( b.x+40, b.y+40, b.width-80, b.height-80, true ); > > . > > If I switch to gray for the background and white for the rectangle I now see 1 pixel of edge on the right and bottom sides (I think). Thanks! k
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Graphics2D#fill3DRect? Knute Johnson <groups@585ranch.com> - 2019-03-31 16:11 -0500 Re: Graphics2D#fill3DRect? Knute Johnson <groups@585ranch.com> - 2019-03-31 18:06 -0500
csiph-web