Class TRectangle

java.lang.Object
   |
   +----TGraphic
           |
           +----TShapeGraphic
                   |
                   +----TRectangle

public class TRectangle
extends TShapeGraphic
implements Serializable
Beinhaltet einen Kreis


Variable Index

 o filled
Gefüllt oder nicht gefüllt
 o height
Der x- und y-Radius
 o width
Der x- und y-Radius
 o x
Die linke, obre Ecke
 o y
Die linke, obre Ecke

Constructor Index

 o TRectangle(double, double, double, double, boolean, Color)
Erzeugt einen Kreis

Method Index

 o isInside(double, double, double)
Liefert TRUE wenn die übergebene Koordinate innerhalb des gezeichneten Bereiches liegt

Variables

 o width
 public double width
Der x- und y-Radius

 o height
 public double height
Der x- und y-Radius

 o x
 public double x
Die linke, obre Ecke

 o y
 public double y
Die linke, obre Ecke

 o filled
 public boolean filled
Gefüllt oder nicht gefüllt

Constructors

 o TRectangle
 public TRectangle(double x,
                   double y,
                   double width,
                   double height,
                   boolean filled,
                   Color color)
Erzeugt einen Kreis

Parameters:
radius - Der Radius
x - Horizontale Koordinate der linken, oberen Ecke
y - Vertikale Koordinate der linken, oberen Ecke
filled - TRUE wenn die Figur gefüllt werden soll

Methods

 o isInside
 public boolean isInside(double x,
                         double y,
                         double tolerance)
Liefert TRUE wenn die übergebene Koordinate innerhalb des gezeichneten Bereiches liegt

Overrides:
isInside in class TGraphic