Uses of Class
javafx.geometry.Rectangle2D
-
Packages that use Rectangle2D Package Description javafx.geometry Provides the set of 2D classes for defining and performing operations on objects related to two-dimensional geometry.javafx.scene Provides the core set of base classes for the JavaFX Scene Graph API.javafx.scene.control.skin The javafx.scene.control.skin package is where the skin classes, typically one for each UI control, are locatedjavafx.scene.image Provides the set of classes for loading and displaying images.javafx.scene.media Provides the set of classes for integrating audio and video into Java FX Applications.javafx.scene.robot Provides API for simulating user interaction such as typing keys on the keyboard and using the mouse.javafx.scene.web This package provides means for loading and displaying Web content.javafx.stage Provides the top-level container classes for JavaFX content. -
-
Uses of Rectangle2D in javafx.geometry
Fields in javafx.geometry declared as Rectangle2D Modifier and Type Field Description static Rectangle2DRectangle2D. EMPTYAn emptyRectangle2Dinstance (with all coordinates equal to zero).Methods in javafx.geometry with parameters of type Rectangle2D Modifier and Type Method Description booleanRectangle2D. contains(Rectangle2D r)Tests if the interior of thisRectangle2Dentirely contains the specified Rectangle2D,r.booleanRectangle2D. intersects(Rectangle2D r)Tests if the interior of thisRectangle2Dintersects the interior of a specified Rectangle2D,r. -
Uses of Rectangle2D in javafx.scene
Methods in javafx.scene that return Rectangle2D Modifier and Type Method Description Rectangle2DSnapshotParameters. getViewport()Gets the current viewportMethods in javafx.scene with parameters of type Rectangle2D Modifier and Type Method Description voidSnapshotParameters. setViewport(Rectangle2D viewport)Sets the viewport used for rendering. -
Uses of Rectangle2D in javafx.scene.control.skin
Methods in javafx.scene.control.skin that return Rectangle2D Modifier and Type Method Description Rectangle2DTextAreaSkin. getCharacterBounds(int index)Returns the bounds of the character at a given index.Rectangle2DTextFieldSkin. getCharacterBounds(int index)Returns the bounds of the character at a given index.Rectangle2DTextInputControlSkin. getCharacterBounds(int index)Returns the bounds of the character at a given index. -
Uses of Rectangle2D in javafx.scene.image
Methods in javafx.scene.image that return Rectangle2D Modifier and Type Method Description Rectangle2DImageView. getViewport()Gets the value of the property viewport.Methods in javafx.scene.image that return types with arguments of type Rectangle2D Modifier and Type Method Description ObjectProperty<Rectangle2D>ImageView. viewportProperty()The rectangular viewport into the image.Methods in javafx.scene.image with parameters of type Rectangle2D Modifier and Type Method Description voidImageView. setViewport(Rectangle2D value)Sets the value of the property viewport.Method parameters in javafx.scene.image with type arguments of type Rectangle2D Modifier and Type Method Description voidPixelBuffer. updateBuffer(Callback<PixelBuffer<T>,Rectangle2D> callback)Invokes the specifiedCallbackmethod and updates the dirty region of allWritableImages that were created using thisPixelBuffer. -
Uses of Rectangle2D in javafx.scene.media
Methods in javafx.scene.media that return Rectangle2D Modifier and Type Method Description Rectangle2DMediaView. getViewport()Retrieves the rectangular viewport into the media frame.Methods in javafx.scene.media that return types with arguments of type Rectangle2D Modifier and Type Method Description ObjectProperty<Rectangle2D>MediaView. viewportProperty()Specifies a rectangular viewport into the media frame.Methods in javafx.scene.media with parameters of type Rectangle2D Modifier and Type Method Description voidMediaView. setViewport(Rectangle2D value)Sets the rectangular viewport into the media frame. -
Uses of Rectangle2D in javafx.scene.robot
Methods in javafx.scene.robot with parameters of type Rectangle2D Modifier and Type Method Description WritableImageRobot. getScreenCapture(WritableImage image, Rectangle2D region)Returns aWritableImagecontaining the specified rectangular area relative to the primary screen.WritableImageRobot. getScreenCapture(WritableImage image, Rectangle2D region, boolean scaleToFit)Returns aWritableImagecontaining the specified rectangular area relative to the primary screen. -
Uses of Rectangle2D in javafx.scene.web
Methods in javafx.scene.web that return types with arguments of type Rectangle2D Modifier and Type Method Description EventHandler<WebEvent<Rectangle2D>>WebEngine. getOnResized()Gets the value of the property onResized.ObjectProperty<EventHandler<WebEvent<Rectangle2D>>>WebEngine. onResizedProperty()JavaScript window resize handler property.Method parameters in javafx.scene.web with type arguments of type Rectangle2D Modifier and Type Method Description voidWebEngine. setOnResized(EventHandler<WebEvent<Rectangle2D>> handler)Sets the value of the property onResized. -
Uses of Rectangle2D in javafx.stage
Methods in javafx.stage that return Rectangle2D Modifier and Type Method Description Rectangle2DScreen. getBounds()Gets the bounds of thisScreen.Rectangle2DScreen. getVisualBounds()Gets the visual bounds of thisScreen.Methods in javafx.stage with parameters of type Rectangle2D Modifier and Type Method Description static ObservableList<Screen>Screen. getScreensForRectangle(Rectangle2D r)Returns a ObservableList ofScreensthat intersects the provided rectangle.
-