Package app.media
Class EllipseShape
java.lang.Object
app.media.Media
app.media.GenericShape
app.media.EllipseShape
- All Implemented Interfaces:
Serializable
An implementation of GenericShape representing an ellipse
- See Also:
-
Property Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEllipseShape
(javafx.geometry.Point2D p1, javafx.geometry.Point2D p2, String colour) Initializes an ellipse with the following settings -
Method Summary
Methods inherited from class app.media.GenericShape
getColour, getP1, getP2, setColour, setP1, setP2
Methods inherited from class app.media.Media
angleProperty, getAngle, getHeight, getID, getName, getTags, getWidth, getX, getY, getZindex, heightProperty, isWithin, nameProperty, setAngle, setHeight, setID, setName, setTags, setWidth, setX, setY, setZindex, widthProperty, xProperty, yProperty, zIndexProperty
-
Constructor Details
-
EllipseShape
Initializes an ellipse with the following settings- Parameters:
p1
- The first point defining the shape (often the origin point)p2
- The second point defining the shape (often the point bound)colour
- The shape's color
-
-
Method Details