public interface ConnectorEnd
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
getBounds()
Get the bounding box of the shape used to draw
this connector end.
|
void |
getConnection(Point2D p)
Get the connection point of the end.
|
void |
getOrigin(Point2D p)
Get the origin of the line end.
|
void |
paint(Graphics2D g)
Paint the connector end.
|
void |
setNormal(double angle)
Set the normal of the connector end.
|
void |
setOrigin(double x,
double y)
Set the origin of the decoration.
|
void |
translate(double x,
double y)
Translate the connector end by the given amount.
|
Rectangle2D getBounds()
void getConnection(Point2D p)
void getOrigin(Point2D p)
void paint(Graphics2D g)
void setNormal(double angle)
void setOrigin(double x, double y)
void translate(double x, double y)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.