java.lang.Object
eu.hansolo.toolboxfx.geom.Bounds
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBoundsObserver(eu.hansolo.toolbox.evt.EvtType<? extends eu.hansolo.toolbox.evt.Evt> type, eu.hansolo.toolbox.evt.EvtObserver<BoundsEvt> observer) booleancontains(double x, double y) copy()booleanvoidfireBoundsEvt(BoundsEvt evt) doubledoubledoubledoublegetMaxX()doublegetMaxY()doublegetMinX()doublegetMinY()doublegetWidth()doublegetX()doublegetY()inthashCode()booleanintersects(double x, double y, double width, double height) booleanintersects(Bounds other) voidvoidremoveBoundsObserver(eu.hansolo.toolbox.evt.EvtType<? extends eu.hansolo.toolbox.evt.Evt> type, eu.hansolo.toolbox.evt.EvtObserver<BoundsEvt> observer) voidset(double x, double y, double width, double height) voidvoidsetHeight(double height) voidsetWidth(double width) voidsetX(double x) voidsetY(double y) toString()
-
Constructor Details
-
Bounds
public Bounds() -
Bounds
public Bounds(double width, double height) -
Bounds
public Bounds(double x, double y, double width, double height)
-
-
Method Details
-
getX
public double getX() -
setX
public void setX(double x) -
getY
public double getY() -
setY
public void setY(double y) -
getMinX
public double getMinX() -
getMaxX
public double getMaxX() -
getMinY
public double getMinY() -
getMaxY
public double getMaxY() -
getWidth
public double getWidth() -
setWidth
public void setWidth(double width) -
getHeight
public double getHeight() -
setHeight
public void setHeight(double height) -
getCenterX
public double getCenterX() -
getCenterY
public double getCenterY() -
set
-
set
public void set(double x, double y, double width, double height) -
contains
public boolean contains(double x, double y) -
intersects
-
intersects
public boolean intersects(double x, double y, double width, double height) -
copy
-
addBoundsObserver
public void addBoundsObserver(eu.hansolo.toolbox.evt.EvtType<? extends eu.hansolo.toolbox.evt.Evt> type, eu.hansolo.toolbox.evt.EvtObserver<BoundsEvt> observer) -
removeBoundsObserver
public void removeBoundsObserver(eu.hansolo.toolbox.evt.EvtType<? extends eu.hansolo.toolbox.evt.Evt> type, eu.hansolo.toolbox.evt.EvtObserver<BoundsEvt> observer) -
removeAllBoundsObservers
public void removeAllBoundsObservers() -
fireBoundsEvt
-
equals
-
hashCode
public int hashCode() -
toString
-