public final class CoordinateUtil extends Object
Constructor and Description |
---|
CoordinateUtil() |
Modifier and Type | Method and Description |
---|---|
static javafx.geometry.Pos |
contraryPosition(javafx.geometry.Pos position) |
static double |
getLocalX(javafx.scene.Node node,
double sceneX) |
static double |
getLocalY(javafx.scene.Node node,
double sceneY) |
static double |
getScreenX(javafx.scene.Node node) |
static double |
getScreenY(javafx.scene.Node node) |
public CoordinateUtil()
public static final double getLocalX(javafx.scene.Node node, double sceneX)
public static final double getLocalY(javafx.scene.Node node, double sceneY)
public static final double getScreenX(javafx.scene.Node node)
public static final double getScreenY(javafx.scene.Node node)
public static final javafx.geometry.Pos contraryPosition(javafx.geometry.Pos position)
Copyright © 2010–2023 Francesco Kriegel. All rights reserved.