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

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

Profile: desktop, common

Overview

The base class for objects that are used to describe the bounds of a node or other scene graph object.

Profile: common

Variable Summary

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.

Inherited Variables

Function Summary

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

 

Inherited Functions