A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How do I make the outline of a rectangle thicker?
Joined: Jul 15, 2003
Jul 23, 2003 22:25:00
I posted this earlier but I may have worded it incorrectly.
I have this ARectangle that I want to make thicker (the outline) and ideas?
focusRect = new ARectangle(0, 0, 175, 150); focusRect.setColor (Color.blue); focusRect.place(win);
Joined: Dec 10, 2001
Jul 25, 2003 04:01:00
The ARectancle Class Documentation
, it doesn't appear that such an ability is built into ARectangle.
Perhaps you could place one ARectangle atop another to achieve the desired effect.
How To Ask Good Questions
JavaRanch FAQ Wiki
It is sorta covered in the
JavaRanch Style Guide
subject: How do I make the outline of a rectangle thicker?
Sue, why is your book
Rectangle (stroke) width
Weird rendering of text outline in AWT
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014