Uses of Class
javafx.geometry.Rectangle2D
Packages that use Rectangle2D
Package
Description
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides the core set of base
classes for the JavaFX Scene Graph API.
The javafx.scene.control.skin package is where the skin classes, typically
one for each UI control, are located
Provides the set of classes for loading and displaying images.
Provides the set of classes for integrating audio and video into Java FX
Applications.
Provides API for simulating user interaction such as typing keys on the keyboard and using the mouse.
Provides the set of classes for fonts and renderable Text Node.
This package provides means for loading and displaying Web content.
Provides the top-level container classes for JavaFX content.
-
Uses of Rectangle2D in javafx.geometry
Fields in javafx.geometry declared as Rectangle2DModifier and TypeFieldDescriptionstatic final Rectangle2DRectangle2D.EMPTYAn emptyRectangle2Dinstance (with all coordinates equal to zero).Methods in javafx.geometry with parameters of type Rectangle2DModifier and TypeMethodDescriptionbooleanRectangle2D.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 Rectangle2DMethods in javafx.scene with parameters of type Rectangle2DModifier and TypeMethodDescriptionvoidSnapshotParameters.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 Rectangle2DModifier and TypeMethodDescriptionTextInputControlSkin.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 Rectangle2DModifier and TypeMethodDescriptionfinal Rectangle2DImageView.getViewport()Gets the value of theviewportproperty.Methods in javafx.scene.image that return types with arguments of type Rectangle2DModifier and TypeMethodDescriptionfinal ObjectProperty<Rectangle2D> ImageView.viewportProperty()The rectangular viewport into the image.Methods in javafx.scene.image with parameters of type Rectangle2DModifier and TypeMethodDescriptionfinal voidImageView.setViewport(Rectangle2D value) Sets the value of theviewportproperty.Method parameters in javafx.scene.image with type arguments of type Rectangle2DModifier and TypeMethodDescriptionvoidPixelBuffer.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 Rectangle2DModifier and TypeMethodDescriptionfinal Rectangle2DMediaView.getViewport()Retrieves the rectangular viewport into the media frame.Methods in javafx.scene.media that return types with arguments of type Rectangle2DModifier and TypeMethodDescriptionfinal ObjectProperty<Rectangle2D> MediaView.viewportProperty()Specifies a rectangular viewport into the media frame.Methods in javafx.scene.media with parameters of type Rectangle2DModifier and TypeMethodDescriptionfinal 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 Rectangle2DModifier and TypeMethodDescriptionRobot.getScreenCapture(WritableImage image, Rectangle2D region) Returns aWritableImagecontaining the specified rectangular area relative to the primary screen.Robot.getScreenCapture(WritableImage image, Rectangle2D region, boolean scaleToFit) Returns aWritableImagecontaining the specified rectangular area relative to the primary screen. -
Uses of Rectangle2D in javafx.scene.text
Methods in javafx.scene.text that return Rectangle2DModifier and TypeMethodDescriptionTextLineInfo.bounds()Returns the value of theboundsrecord component.abstract Rectangle2DLayoutInfo.getLogicalBounds(boolean includeLineSpacing) Returns the logical bounds of the layout.abstract Rectangle2DCaretInfo.getSegmentAt(int index) Returns the geometry of the segment at the specified index.Methods in javafx.scene.text that return types with arguments of type Rectangle2DModifier and TypeMethodDescriptionabstract List<Rectangle2D> LayoutInfo.getSelectionGeometry(int start, int end, boolean includeLineSpacing) Returns the geometry of the text selection, as an immutable list ofRectangle2Dobjects, for the given start and end offsets.abstract List<Rectangle2D> LayoutInfo.getStrikeThroughGeometry(int start, int end) Returns the geometry of the strike-through shape, as an immutable list ofRectangle2Dobjects, for the given start and end offsets.abstract List<Rectangle2D> LayoutInfo.getUnderlineGeometry(int start, int end) Returns the geometry of the underline shape, as an immutable list ofRectangle2Dobjects, for the given start and end offsets.Constructors in javafx.scene.text with parameters of type Rectangle2DModifierConstructorDescriptionTextLineInfo(int start, int end, Rectangle2D bounds) Creates an instance of aTextLineInforecord class. -
Uses of Rectangle2D in javafx.scene.web
Methods in javafx.scene.web that return types with arguments of type Rectangle2DModifier and TypeMethodDescriptionfinal EventHandler<WebEvent<Rectangle2D>> WebEngine.getOnResized()Gets the value of theonResizedproperty.final ObjectProperty<EventHandler<WebEvent<Rectangle2D>>> WebEngine.onResizedProperty()JavaScript window resize handler property.Method parameters in javafx.scene.web with type arguments of type Rectangle2DModifier and TypeMethodDescriptionfinal voidWebEngine.setOnResized(EventHandler<WebEvent<Rectangle2D>> handler) Sets the value of theonResizedproperty. -
Uses of Rectangle2D in javafx.stage
Methods in javafx.stage that return Rectangle2DModifier and TypeMethodDescriptionfinal Rectangle2DScreen.getBounds()Gets the bounds of thisScreen.final Rectangle2DScreen.getVisualBounds()Gets the visual bounds of thisScreen.Methods in javafx.stage with parameters of type Rectangle2DModifier and TypeMethodDescriptionstatic ObservableList<Screen> Screen.getScreensForRectangle(Rectangle2D r) Returns a ObservableList ofScreensthat intersects the provided rectangle.