I want to render an image to a canvas but without the smoothing taking place.
According to the JavaFX API's the image class has a 'isSmooth' option.
Can this be implemented?
According to the JavaFX API's the image class has a 'isSmooth' option.
Can this be implemented?
isSmooth
public final boolean isSmooth()
Indicates whether to use a better quality filtering algorithm or a faster one when scaling this image to fit within the bounding box provided by width and height.
If not initialized or set to true a better quality filtering will be used, otherwise a faster but lesser quality filtering will be used.