Interface PointShape
public interface PointShape
Represents a point shape. Usually used for control points and end points of a connection widget.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PointShape
The empty point shape.static final PointShape
The 8px big filled-square shape.static final PointShape
The 6px big filled-square shape. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns a radius of the shape.void
paint
(Graphics2D graphics) Renders a shape into the graphics instance
-
Field Details
-
NONE
The empty point shape. -
SQUARE_FILLED_BIG
The 8px big filled-square shape. -
SQUARE_FILLED_SMALL
The 6px big filled-square shape.
-
-
Method Details
-
getRadius
int getRadius()Returns a radius of the shape.- Returns:
- the radius
-
paint
-