org.librawfx.dimension.DefaultDimensionProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of LibRawFX Show documentation
Show all versions of LibRawFX Show documentation
This installs the native lib libraw as a JavaFX Image format provider similar to imageIO before on Swing
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.librawfx.dimension;
/**
*
* @author selfemp
*/
public class DefaultDimensionProvider implements DimensionProvider {
private static final int DEFAULT_SIZE = 400;
private static final Dimension BOUNDS = new Dimension(DEFAULT_SIZE, DEFAULT_SIZE);
@Override
public Dimension getDimension() {
return BOUNDS;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy