modules/javafx.graphics/src/main/java/javafx/scene/layout/Region.java

Print this page

        

*** 1707,1717 **** * same value. * @param value the space value to be snapped * @return value rounded to nearest pixel * @since 9 */ ! protected double snapSpaceX(double value) { return snapSpaceX(value, isSnapToPixel()); } /** * If this region's snapToPixel property is true, returns a value rounded --- 1707,1717 ---- * same value. * @param value the space value to be snapped * @return value rounded to nearest pixel * @since 9 */ ! public double snapSpaceX(double value) { return snapSpaceX(value, isSnapToPixel()); } /** * If this region's snapToPixel property is true, returns a value rounded
*** 1719,1729 **** * same value. * @param value the space value to be snapped * @return value rounded to nearest pixel * @since 9 */ ! protected double snapSpaceY(double value) { return snapSpaceY(value, isSnapToPixel()); } /** * If this region's snapToPixel property is false, this method returns the --- 1719,1729 ---- * same value. * @param value the space value to be snapped * @return value rounded to nearest pixel * @since 9 */ ! public double snapSpaceY(double value) { return snapSpaceY(value, isSnapToPixel()); } /** * If this region's snapToPixel property is false, this method returns the
*** 1746,1756 **** * same value. * @param value the size value to be snapped * @return value ceiled to nearest pixel * @since 9 */ ! protected double snapSizeX(double value) { return snapSizeX(value, isSnapToPixel()); } /** * If this region's snapToPixel property is true, returns a value ceiled --- 1746,1756 ---- * same value. * @param value the size value to be snapped * @return value ceiled to nearest pixel * @since 9 */ ! public double snapSizeX(double value) { return snapSizeX(value, isSnapToPixel()); } /** * If this region's snapToPixel property is true, returns a value ceiled
*** 1758,1768 **** * same value. * @param value the size value to be snapped * @return value ceiled to nearest pixel * @since 9 */ ! protected double snapSizeY(double value) { return snapSizeY(value, isSnapToPixel()); } /** * If this region's snapToPixel property is false, this method returns the --- 1758,1768 ---- * same value. * @param value the size value to be snapped * @return value ceiled to nearest pixel * @since 9 */ ! public double snapSizeY(double value) { return snapSizeY(value, isSnapToPixel()); } /** * If this region's snapToPixel property is false, this method returns the
*** 1785,1795 **** * same value. * @param value the position value to be snapped * @return value rounded to nearest pixel * @since 9 */ ! protected double snapPositionX(double value) { return snapPositionX(value, isSnapToPixel()); } /** * If this region's snapToPixel property is true, returns a value rounded --- 1785,1795 ---- * same value. * @param value the position value to be snapped * @return value rounded to nearest pixel * @since 9 */ ! public double snapPositionX(double value) { return snapPositionX(value, isSnapToPixel()); } /** * If this region's snapToPixel property is true, returns a value rounded
*** 1797,1807 **** * same value. * @param value the position value to be snapped * @return value rounded to nearest pixel * @since 9 */ ! protected double snapPositionY(double value) { return snapPositionY(value, isSnapToPixel()); } double snapPortionX(double value) { return snapPortionX(value, isSnapToPixel()); --- 1797,1807 ---- * same value. * @param value the position value to be snapped * @return value rounded to nearest pixel * @since 9 */ ! public double snapPositionY(double value) { return snapPositionY(value, isSnapToPixel()); } double snapPortionX(double value) { return snapPortionX(value, isSnapToPixel());