Uses of Class
breadboards.GPoint
-
-
Uses of GPoint in breadboards
Methods in breadboards that return GPoint Modifier and Type Method Description GPoint
GCompound. getCanvasPoint(double x, double y)
converts local coordinates associated with the GCompound to coordinates associated with the parent objectGPoint
GLine. getEndPoint()
returns end point of the GLineGPoint
GCompound. getLocalPoint(double x, double y)
converts coordinates associated with the parent object to local coordinates associated with the GCompoundGPoint
GObject. getLocation()
returns the location of the GObject as a GPointGPoint
GRectangle. getLocation()
returns the location of this GRectangleGPoint
GLine. getStartPoint()
returns start point of the GLineMethods in breadboards with parameters of type GPoint Modifier and Type Method Description void
Breadboard. add(GObject gObject, GPoint pt)
adds the specified GObject to this breadboard at the specified pointvoid
GCompound. add(GObject gObject, GPoint pt)
adds a GObject to this GCompound at the specified pointboolean
GRectangle. contains(GPoint p)
returns true when point specified is on or inside the GRectangleGObject
Breadboard. getElementAt(GPoint pt)
returns the top-most element at the specified pointGObject
GCompound. getElementAt(GPoint pt)
returns the top-most element of the GCompound at the specified point
-