Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: How to draw a circular Arc2D

Java: How to draw a circular Arc2D

 import java.awt.*;
 import java.awt.geom.*;
 import  javax.swing.*;
 class ArcCirculaire extends JFrame {
	public ArcCirculaire()
	setTitle("Java 2D");
    setSize(200, 200);
   public void paint(Graphics g)
   Graphics2D g2 = (Graphics2D)g;
   Arc2D arc_pi = new Arc2D.Float(0, 50, 150, 150, -30, 90, Arc2D.PIE);
 public static void main(String[] args)
   new ArcCirculaire();

Users who found this page were searching for:

  • python check element in array
  • perl directory listing
  • calculate percentage in python
  • blues java arc2d exemple
  • python iterate dict
  • attach a file python email
  • python merge files keys
  • javamail yahoo example
  • create an instance in python
  • python list sockets

No comments yet.

Leave a Comment