Example usage for java.awt.geom Arc2D.Double Arc2D.Double

List of usage examples for java.awt.geom Arc2D.Double Arc2D.Double

Introduction

In this page you can find the example usage for java.awt.geom Arc2D.Double Arc2D.Double.

Prototype

public Double(double x, double y, double w, double h, double start, double extent, int type) 

Source Link

Document

Constructs a new arc, initialized to the specified location, size, angular extents, and closure type.

Usage

From source file:DrawingApplet.java

public Shape createWedge(double x, double y, double w, double h, double start, double extent) {
    return new Arc2D.Double(x, y, w, h, start, extent, Arc2D.PIE);
}