public class EllipseShape extends GraphShape
ports, uuid| Constructor and Description |
|---|
EllipseShape() |
EllipseShape(int x1,
int y1,
int x2,
int y2) |
| Modifier and Type | Method and Description |
|---|---|
int |
centerX() |
int |
centerY() |
boolean |
contains(int mx,
int my) |
double |
distanceTo(int mx,
int my) |
Rectangle |
getBounds() |
int |
getX1() |
int |
getX2() |
int |
getY1() |
int |
getY2() |
boolean |
isEmpty() |
void |
move(int dx,
int dy,
Graph graph) |
void |
movePort(int dx,
int dy,
GraphPort port,
Graph graph) |
int |
radiusX() |
int |
radiusY() |
protected void |
rebuild() |
void |
setX1(int x1) |
void |
setX2(int x2) |
void |
setY1(int y1) |
void |
setY2(int y2) |
configure, getFillColor, setFillColoraddPort, addReadOnlyPort, addReadOnlyPorts, createPort, ensureUuid, getLineColor, getLineStroke, getPort, getPorts, getText, getUuid, isHover, isSelected, setHover, setLineColor, setLineStroke, setSelected, setText, setUuidpublic EllipseShape()
public EllipseShape(int x1,
int y1,
int x2,
int y2)
public int getX2()
public void setX2(int x2)
public int getY2()
public void setY2(int y2)
public int getX1()
public void setX1(int x1)
public int getY1()
public void setY1(int y1)
public int centerX()
public int radiusX()
public int radiusY()
public int centerY()
public boolean contains(int mx,
int my)
public double distanceTo(int mx,
int my)
public void move(int dx,
int dy,
Graph graph)
protected void rebuild()
public boolean isEmpty()
public Rectangle getBounds()
Copyright © 2021 vpc open source initiative. All rights reserved.