Java:Rectangle
De W3API
Contenido |
[editar] Descripcion
Clase que representa al área de un rectángulo. El rectángulo se define con una posición de su esquina superior izquierda, un alto y ancho.
[editar] Sintaxis
public class Rectangle extends Rectangle2D implements Shape, Serializable
[editar] Ejemplo
[editar] Campos
[editar] Constuctores
[editar] Metodos
- add()
- contains()
- createIntersection()
- createUnion()
- equals()
- getBounds()
- getBounds2D()
- getHeight()
- getLocation()
- getSize()
- getWidth()
- getX()
- getY()
- grow()
- inside()
- contains()
- intersection()
- intersects()
- isEmpty()
- move()
- setLocation()
- outcode()
- reshape()
- setBounds()
- resize()
- setSize()
- setBounds()
- setLocation()
- setRect()
- setSize()
- toString()
- translate()
- union()