Spec-Zone .ru
спецификации, руководства, описания, API

JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

A rectangular bounding box.

Profile: common

Inherited Variables

javafx.geometry.Bounds

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-init packageheightNumber0.0

The height of this Bounds.

public-readmaxXNumber minX + width

The x coordinate of the lower-right corner of this Bounds.

public-readmaxYNumber minY + height

The y coordinate of the lower-right corner of this Bounds.

public-init packageminXNumber0.0

The x coordinate of the upper-left corner of this Bounds.

public-init packageminYNumber0.0

The y coordinate of the upper-left corner of this Bounds.

public-init packagewidthNumber0.0

The width of this Bounds.

Function Summary

public contains(p: Point2D) : Boolean
Parameters
p
Returns
Boolean
 
public contains(x: Number, y: Number) : Boolean
Parameters
x
y
Returns
Boolean
 
public contains(b: Bounds) : Boolean
Parameters
b
Returns
Boolean
 
public contains(x: Number, y: Number, w: Number, h: Number) : Boolean
Parameters
x
y
w
h
Returns
Boolean
 
public equals(obj: java.lang.Object) : Boolean
Parameters
obj
Returns
Boolean
 
public hashCode() : Integer
Returns
Integer
 
public intersects(b: Bounds) : Boolean
Parameters
b
Returns
Boolean
 
public intersects(x: Number, y: Number, w: Number, h: Number) : Boolean
Parameters
x
y
w
h
Returns
Boolean
 
public toString() : java.lang.String

Returns a string representation of this BoundingBox.

Returns a string representation of this BoundingBox. This method is intended to be used only for informational purposes. The content and format of the returned string might vary between implementations. The returned string might be empty but cannot be null.

Returns
String

Profile: common

 

Inherited Functions

javafx.geometry.Bounds

public abstract contains(p: Point2D) : Boolean

Tests if the specified point is inside the boundary of Bounds.

Tests if the specified point is inside the boundary of Bounds.

Parameters
p
the specified point to be tested
Returns
Boolean
true if the specified point is inside the boundary of this Bounds ; false otherwise.

Profile: common

 
public abstract contains(x: Number, y: Number) : Boolean

Tests if the specified (x, y) coordinates are inside the boundary of Bounds.

Tests if the specified (x, y) coordinates are inside the boundary of Bounds.

Parameters
x
the specified x coordinate to be tested
y
the specified y coordinate to be tested
Returns
Boolean
true if the specified (x, y) coordinates are inside the boundary of this Bounds ; false otherwise.

Profile: common

 
public abstract contains(b: Bounds) : Boolean

Tests if the interior of this Bounds entirely contains the specified Bounds, b.

Tests if the interior of this Bounds entirely contains the specified Bounds, b.

Parameters
b
The specified Bounds
Returns
Boolean
true if the specified Bounds, b , is inside the boundary of this Bounds ; false otherwise.

Profile: common

 
public abstract contains(x: Number, y: Number, w: Number, h: Number) : Boolean

Tests if the interior of this Bounds entirely contains the specified rectangular area.

Tests if the interior of this Bounds entirely contains the specified rectangular area.

Parameters
x
the x coordinate of the upper-left corner of the specified rectangular area
y
the y coordinate of the upper-left corner of the specified rectangular area
w
the width of the specified rectangular area
h
the height of the specified rectangular area
Returns
Boolean
true if the interior of this Bounds entirely contains the specified rectangular area; false otherwise.

Profile: common

 
public abstract intersects(b: Bounds) : Boolean

Tests if the interior of this Bounds intersects the interior of a specified Bounds, b.

Tests if the interior of this Bounds intersects the interior of a specified Bounds, b.

Parameters
b
The specified Bounds
Returns
Boolean
true if the interior of this Bounds and the interior of the specified Bounds, b , intersect.

Profile: common

 
public abstract intersects(x: Number, y: Number, w: Number, h: Number) : Boolean

Tests if the interior of this Bounds intersects the interior of a specified rectangular area.

Tests if the interior of this Bounds intersects the interior of a specified rectangular area.

Parameters
x
the x coordinate of the upper-left corner of the specified rectangular area
y
the y coordinate of the upper-left corner of the specified rectangular area
w
the width of the specified rectangular area
h
the height of the specified rectangular area
Returns
Boolean
true if the interior of this Bounds and the interior of the rectangular area intersect.

Profile: common