public class Rectangle extends Object
| Constructor | Description |
|---|---|
Rectangle() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
|
Double |
getHeight() |
Height
|
Double |
getWidth() |
Width
|
Double |
getX() |
X coordinate
|
Double |
getY() |
Y coordinate
|
int |
hashCode() |
|
Rectangle |
height(Double height) |
|
void |
setHeight(Double height) |
|
void |
setWidth(Double width) |
|
void |
setX(Double X) |
|
void |
setY(Double Y) |
|
String |
toString() |
|
Rectangle |
width(Double width) |
|
Rectangle |
X(Double X) |
|
Rectangle |
Y(Double Y) |
public Double getHeight()
public void setHeight(Double height)
public Double getWidth()
public void setWidth(Double width)
public Double getX()
public void setX(Double X)
public Double getY()
public void setY(Double Y)
Copyright © 2025. All rights reserved.