Uses of Class
javafx.scene.image.Image
-
Packages that use Image Package Description javafx.embed.swing Provides the set of classes to use JavaFX inside Swing applications.javafx.scene Provides the core set of base classes for the JavaFX Scene Graph API.javafx.scene.canvas Provides the set of classes for canvas, an immediate mode style of rendering API.javafx.scene.effect Provides the set of classes for attaching graphical filter effects to JavaFX Scene Graph Nodes.javafx.scene.image Provides the set of classes for loading and displaying images.javafx.scene.input Provides the set of classes for mouse and keyboard input event handling.javafx.scene.layout Provides classes to support user interface layout.javafx.scene.paint Provides the set of classes for colors and gradients used to fill shapes and backgrounds when rendering the scene graph.javafx.stage Provides the top-level container classes for JavaFX content. -
-
Uses of Image in javafx.embed.swing
Methods in javafx.embed.swing with parameters of type Image Modifier and Type Method Description static BufferedImageSwingFXUtils. fromFXImage(Image img, BufferedImage bimg)Snapshots the specified JavaFXImageobject and stores a copy of its pixels into aBufferedImageobject, creating a new object if needed. -
Uses of Image in javafx.scene
Methods in javafx.scene that return Image Modifier and Type Method Description ImageImageCursor. getImage()Gets the value of the property image.Methods in javafx.scene that return types with arguments of type Image Modifier and Type Method Description ReadOnlyObjectProperty<Image>ImageCursor. imageProperty()The image to display when the cursor is active.Methods in javafx.scene with parameters of type Image Modifier and Type Method Description static ImageCursorImageCursor. chooseBestCursor(Image[] images, double hotspotX, double hotspotY)Creates a custom image cursor from one of the specified images.Constructors in javafx.scene with parameters of type Image Constructor Description ImageCursor(Image image)Constructs anImageCursorfrom the specified image.ImageCursor(Image image, double hotspotX, double hotspotY)Constructs anImageCursorfrom the specified image and hotspot coordinates. -
Uses of Image in javafx.scene.canvas
Methods in javafx.scene.canvas with parameters of type Image Modifier and Type Method Description voidGraphicsContext. drawImage(Image img, double x, double y)Draws an image at the given x, y position using the width and height of the given image.voidGraphicsContext. drawImage(Image img, double x, double y, double w, double h)Draws an image into the given destination rectangle of the canvas.voidGraphicsContext. drawImage(Image img, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh)Draws the specified source rectangle of the given image to the given destination rectangle of the Canvas. -
Uses of Image in javafx.scene.effect
Methods in javafx.scene.effect that return Image Modifier and Type Method Description ImageImageInput. getSource()Gets the value of the property source.Methods in javafx.scene.effect that return types with arguments of type Image Modifier and Type Method Description ObjectProperty<Image>ImageInput. sourceProperty()The sourceImage.Methods in javafx.scene.effect with parameters of type Image Modifier and Type Method Description voidImageInput. setSource(Image value)Sets the value of the property source.Constructors in javafx.scene.effect with parameters of type Image Constructor Description ImageInput(Image source)Creates a new instance of ImageInput with the specified source.ImageInput(Image source, double x, double y)Creates a new instance of ImageInput with the specified source, x and y. -
Uses of Image in javafx.scene.image
Subclasses of Image in javafx.scene.image Modifier and Type Class Description classWritableImageTheWritableImageclass represents a custom graphical image that is constructed from pixels supplied by the application, and possibly fromPixelReaderobjects from any number of sources, including images read from a file or URL.Methods in javafx.scene.image that return Image Modifier and Type Method Description ImageImageView. getImage()Gets the value of the property image.Methods in javafx.scene.image that return types with arguments of type Image Modifier and Type Method Description ObjectProperty<Image>ImageView. imageProperty()TheImageto be painted by thisImageView.Methods in javafx.scene.image with parameters of type Image Modifier and Type Method Description voidImageView. setImage(Image value)Sets the value of the property image.Constructors in javafx.scene.image with parameters of type Image Constructor Description ImageView(Image image)Allocates a new ImageView object using the given image. -
Uses of Image in javafx.scene.input
Methods in javafx.scene.input that return Image Modifier and Type Method Description ImageDragboard. getDragView()Gets the image used as a drag view.ImageClipboard. getImage()Gets the Image from the clipboard which had previously been registered.ImageClipboardContent. getImage()Gets the Image from theClipboardContentwhich had previously been put.Methods in javafx.scene.input with parameters of type Image Modifier and Type Method Description booleanClipboardContent. putImage(Image i)Puts an Image into theClipboardContent.voidDragboard. setDragView(Image image)Sets the visual representation of data being transfered in a drag and drop gesture.voidDragboard. setDragView(Image image, double offsetX, double offsetY)Sets the visual representation of data being transfered in a drag and drop gesture. -
Uses of Image in javafx.scene.layout
Methods in javafx.scene.layout that return Image Modifier and Type Method Description ImageBackgroundImage. getImage()The image to be used.ImageBorderImage. getImage()The image to be used.Constructors in javafx.scene.layout with parameters of type Image Constructor Description BackgroundImage(Image image, BackgroundRepeat repeatX, BackgroundRepeat repeatY, BackgroundPosition position, BackgroundSize size)Creates a new BackgroundImage.BorderImage(Image image, BorderWidths widths, Insets insets, BorderWidths slices, boolean filled, BorderRepeat repeatX, BorderRepeat repeatY)Creates a new BorderImage. -
Uses of Image in javafx.scene.paint
Methods in javafx.scene.paint that return Image Modifier and Type Method Description ImagePhongMaterial. getBumpMap()Gets the value of the property bumpMap.ImagePhongMaterial. getDiffuseMap()Gets the value of the property diffuseMap.ImageImagePattern. getImage()Gets the image to be used as a paint.ImagePhongMaterial. getSelfIlluminationMap()Gets the value of the property selfIlluminationMap.ImagePhongMaterial. getSpecularMap()Gets the value of the property specularMap.Methods in javafx.scene.paint that return types with arguments of type Image Modifier and Type Method Description ObjectProperty<Image>PhongMaterial. bumpMapProperty()The bump map of thisPhongMaterial, which is a normal map stored as a RGBImage.ObjectProperty<Image>PhongMaterial. diffuseMapProperty()The diffuse map of thisPhongMaterial.ObjectProperty<Image>PhongMaterial. selfIlluminationMapProperty()The self illumination map of thisPhongMaterial.ObjectProperty<Image>PhongMaterial. specularMapProperty()The specular map of thisPhongMaterial.Methods in javafx.scene.paint with parameters of type Image Modifier and Type Method Description voidPhongMaterial. setBumpMap(Image value)Sets the value of the property bumpMap.voidPhongMaterial. setDiffuseMap(Image value)Sets the value of the property diffuseMap.voidPhongMaterial. setSelfIlluminationMap(Image value)Sets the value of the property selfIlluminationMap.voidPhongMaterial. setSpecularMap(Image value)Sets the value of the property specularMap.Constructors in javafx.scene.paint with parameters of type Image Constructor Description ImagePattern(Image image)Creates a new instance of ImagePattern from the specified image.ImagePattern(Image image, double x, double y, double width, double height, boolean proportional)Creates a new instance of ImagePattern.PhongMaterial(Color diffuseColor, Image diffuseMap, Image specularMap, Image bumpMap, Image selfIlluminationMap)Creates a new instance ofPhongMaterialclass using the specified colors and images for itsdiffuseColorproperties. -
Uses of Image in javafx.stage
Methods in javafx.stage that return types with arguments of type Image Modifier and Type Method Description ObservableList<Image>Stage. getIcons()Gets the icon images to be used in the window decorations and when minimized.
-