JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

Collection of utilities to convert between Java AWT and JavaFX Geometry objects.

Inherited Variables

Function Summary

public pointToJava(point: Point2D) : java.awt.geom.Point2D

Converts a JavaFX Geometry Point2D to a Java AWT Point2D.

Converts a JavaFX Geometry Point2D to a Java AWT Point2D.

Parameters
point
Returns
Point2D
 
public pointToJavaFX(point: java.awt.geom.Point2D) : Point2D

Converts a Java AWT Point2D to a JavaFX Geometry Point2D.

Converts a Java AWT Point2D to a JavaFX Geometry Point2D.

Parameters
point
Returns
Point2D
 
public rectangleToJava(rectangle: Rectangle2D) : java.awt.geom.Rectangle2D

Converts a JavaFX Geometry Rectangle2D to a Java AWT Rectangle2D.

Converts a JavaFX Geometry Rectangle2D to a Java AWT Rectangle2D.

Parameters
rectangle
Returns
Rectangle2D
 
public rectangleToJavaFX(rectangle: java.awt.geom.Rectangle2D) : Rectangle2D

Converts a Java AWT Rectangle2D to a JavaFX Geometry Rectangle2D.

Converts a Java AWT Rectangle2D to a JavaFX Geometry Rectangle2D.

Parameters
rectangle
Returns
Rectangle2D
 

Inherited Functions