Package jltk.shape
Class Circle
- java.lang.Object
-
- jltk.Component
-
- jltk.shape.Shape
-
- jltk.shape.Circle
-
public class Circle extends Shape
Beschreiben Sie hier die Klasse Circle.- Version:
- (eine Versionsnummer oder ein Datum)
- Author:
- (Ihr Name)
-
-
Field Summary
Fields Modifier and Type Field Description protected javafx.scene.shape.Circle
fxCircle
-
Fields inherited from class jltk.shape.Shape
fillColor, fxShape, lineColor, rotate, scale, transparancy, x, xOffset, y, yOffset
-
Fields inherited from class jltk.Component
fxNode, hasFocus, myWindow, onFocusGained, onFocusLost
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getRadius()
Return the radius of this criclevoid
setRadius(double pRadius)
Set the new radius of this circle.-
Methods inherited from class jltk.shape.Shape
contains, contains, contains, delay, flipHorizontal, flipVertical, getHeight, getLineWidth, getRotation, getTransparancy, getWidth, getX, getY, init, intersects, intersects, move, move, scale, scaleTo, setCenterPosition, setFillColor, setFillColor, setFillColor, setLineColor, setLineColor, setLineColor, setLineWidth, setPosition, setRotation, setTransparancy, turn, turn
-
Methods inherited from class jltk.Component
activate, deactivate, focus, hasFocus, hide, init, istActive, isVisible, runMethodByName, setOnFocusGained, setOnFocusLost, show, toBack, toFront
-
-
-
-
Constructor Detail
-
Circle
public Circle(double pX, double pY, double pRadius)
Creates a new circle width the specified radius. The circle is centered on the specifed position.- Parameters:
pX
- The x-coordinate of the centerpY
- The y-coordinate of the centerpRadius
- The radius of the circle
-
Circle
public Circle(double pX, double pY, double pRadius, Window pWindow)
Creates a new circle width the specified radius. It is placed on the specified windows. The circle is centered on the specifed position.- Parameters:
pX
- The x-coordinate of the centerpY
- The y-coordinate of the centerpRadius
- The radius of the circlepWindow
- The windows, the circle should place
-
-