Actual zoom value.
Actual zoom value.
It should be the same as zoom
when zoomToFit==false
, it may be different if zoomToFit==true
Property containing image to be displayed.
Property containing image to be displayed. If null
the display will be blank (following JavaFX convention)
Optional rectangular ROI to be displayed on the image
Image rotation in degrees.
Image rotation in degrees. Default value is 0 (no rotation).
ScalaFX node in containing this image display UI.
Controls image zoom when zoomToFit
is off.
Controls image zoom when zoomToFit
is off. Value of 1 mean no scaling.
Values larger than 1 make image larger. Values smaller than 1 make image smaller.
Zoom in the view.
Zoom out the view.
When set to true
the image fits to the size of the available view, maintaining its aspect ratio.
Displays an image view with ability to zoom in, zoom out, zoom to fit. It can also automatically resizes to parent size. When
zoomToFit
is set totrue
the image is sized to fit the parent scroll pane.Sample usage (full detains in
ImageDisplayDemoApp
)