home *** CD-ROM | disk | FTP | other *** search
- package java.awt.geom;
-
- public class Arc2D$Float extends Arc2D {
- // $FF: renamed from: x float
- public float field_0;
- // $FF: renamed from: y float
- public float field_1;
- public float width;
- public float height;
- public float start;
- public float extent;
-
- public Arc2D$Float() {
- super(0);
- }
-
- public Arc2D$Float(int var1) {
- super(var1);
- }
-
- public Arc2D$Float(float var1, float var2, float var3, float var4, float var5, float var6, int var7) {
- super(var7);
- this.field_0 = var1;
- this.field_1 = var2;
- this.width = var3;
- this.height = var4;
- this.start = var5;
- this.extent = var6;
- }
-
- public Arc2D$Float(Rectangle2D var1, float var2, float var3, int var4) {
- super(var4);
- this.field_0 = (float)((RectangularShape)var1).getX();
- this.field_1 = (float)((RectangularShape)var1).getY();
- this.width = (float)((RectangularShape)var1).getWidth();
- this.height = (float)((RectangularShape)var1).getHeight();
- this.start = var2;
- this.extent = var3;
- }
-
- public double getX() {
- return (double)this.field_0;
- }
-
- public double getY() {
- return (double)this.field_1;
- }
-
- public double getWidth() {
- return (double)this.width;
- }
-
- public double getHeight() {
- return (double)this.height;
- }
-
- public double getAngleStart() {
- return (double)this.start;
- }
-
- public double getAngleExtent() {
- return (double)this.extent;
- }
-
- public boolean isEmpty() {
- return (double)this.width <= (double)0.0F || (double)this.height <= (double)0.0F;
- }
-
- public void setArc(double var1, double var3, double var5, double var7, double var9, double var11, int var13) {
- ((Arc2D)this).setArcType(var13);
- this.field_0 = (float)var1;
- this.field_1 = (float)var3;
- this.width = (float)var5;
- this.height = (float)var7;
- this.start = (float)var9;
- this.extent = (float)var11;
- }
-
- public void setAngleStart(double var1) {
- this.start = (float)var1;
- }
-
- public void setAngleExtent(double var1) {
- this.extent = (float)var1;
- }
-
- protected Rectangle2D makeBounds(double var1, double var3, double var5, double var7) {
- return new Rectangle2D.Float((float)var1, (float)var3, (float)var5, (float)var7);
- }
- }
-