Results 1 to 1 of 1
Thread: drawing a dashed circle
- 07-13-2009, 09:46 AM #1
Member
- Join Date
- Jul 2009
- Posts
- 2
- Rep Power
- 0
drawing a dashed circle
I know I can draw a circle using the codes below
peerGraphComposite.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent event) {
Rectangle rect = peerGraphComposite.getClientArea();
event.gc.drawOval(30, 30, rect.height - 60, rect.height - 60);
}
});
how can I draw a dashed circle using SWT?
Thanks!
Similar Threads
-
How to write numbers around a circle
By pheonix in forum New To JavaReplies: 8Last Post: 06-11-2009, 10:20 AM -
Generate numbers around a circle?
By pheonix in forum New To JavaReplies: 4Last Post: 06-05-2009, 05:08 PM -
java program help. find the radius of a circle
By megironi in forum New To JavaReplies: 1Last Post: 03-27-2009, 07:09 AM -
Drawing a map
By Karp in forum AWT / SwingReplies: 4Last Post: 11-07-2008, 12:26 PM -
In which circle is the Point lying?
By nidhirastogi in forum New To JavaReplies: 1Last Post: 07-02-2008, 11:12 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks