home *** CD-ROM | disk | FTP | other *** search
- package java.awt.geom;
-
- public class RoundRectangle2D$Float extends RoundRectangle2D {
- // $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 arcwidth;
- public float archeight;
-
- public RoundRectangle2D$Float() {
- }
-
- public RoundRectangle2D$Float(float var1, float var2, float var3, float var4, float var5, float var6) {
- this.setRoundRect(var1, var2, var3, var4, var5, var6);
- }
-
- 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 getArcWidth() {
- return (double)this.arcwidth;
- }
-
- public double getArcHeight() {
- return (double)this.archeight;
- }
-
- public boolean isEmpty() {
- return this.width <= 0.0F || this.height <= 0.0F;
- }
-
- public void setRoundRect(float var1, float var2, float var3, float var4, float var5, float var6) {
- this.field_0 = var1;
- this.field_1 = var2;
- this.width = var3;
- this.height = var4;
- this.arcwidth = var5;
- this.archeight = var6;
- }
-
- public void setRoundRect(double var1, double var3, double var5, double var7, double var9, double var11) {
- this.field_0 = (float)var1;
- this.field_1 = (float)var3;
- this.width = (float)var5;
- this.height = (float)var7;
- this.arcwidth = (float)var9;
- this.archeight = (float)var11;
- }
-
- public void setRoundRect(RoundRectangle2D var1) {
- 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.arcwidth = (float)var1.getArcWidth();
- this.archeight = (float)var1.getArcHeight();
- }
-
- public Rectangle2D getBounds2D() {
- return new Rectangle2D.Float(this.field_0, this.field_1, this.width, this.height);
- }
- }
-