public class JFXShapeUtilities
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.awt.Shape |
getAWTPath(javafx.scene.shape.Arc arc) |
static java.awt.Shape |
getAWTPath(javafx.scene.shape.Circle circle) |
static java.awt.Shape |
getAWTPath(javafx.scene.shape.CubicCurve curve) |
static java.awt.Shape |
getAWTPath(javafx.scene.shape.Ellipse ellipse) |
static java.awt.Shape |
getAWTPath(javafx.scene.shape.Path path) |
static java.awt.Shape |
getAWTPath(javafx.scene.shape.Polygon polygon) |
static java.awt.Shape |
getAWTPath(javafx.scene.shape.Polyline polyline) |
static java.awt.Shape |
getAWTPath(javafx.scene.shape.QuadCurve curve) |
static java.awt.Shape |
getAWTPath(javafx.scene.shape.Rectangle rec) |
static java.awt.Shape |
getAWTPath(javafx.scene.shape.SVGPath path)
Convert a SVGPath to an Awt Shape without applying any AffineTransform on it.
|
static java.awt.Shape |
getShape(javafx.scene.Node node)
Return an Awt Shape from a JavaFX Node.
|
static java.awt.geom.AffineTransform |
getTransform(javafx.scene.Node node)
Return the Awt AffineTransform from a Node transforms.
|
static java.awt.Shape |
transformShape(javafx.scene.Node node,
java.awt.Shape shape)
Transfrom an Awt Shape with the transforms of a Node.
|
public static java.awt.Shape getShape(javafx.scene.Node node)
node - the JavaFX Nodepublic static java.awt.geom.AffineTransform getTransform(javafx.scene.Node node)
node - the Nodepublic static java.awt.Shape transformShape(javafx.scene.Node node,
java.awt.Shape shape)
node - the Nodeshape - the Shapepublic static java.awt.Shape getAWTPath(javafx.scene.shape.SVGPath path)
path - the SVGPathpublic static java.awt.Shape getAWTPath(javafx.scene.shape.Circle circle)
public static java.awt.Shape getAWTPath(javafx.scene.shape.Ellipse ellipse)
public static java.awt.Shape getAWTPath(javafx.scene.shape.Arc arc)
public static java.awt.Shape getAWTPath(javafx.scene.shape.Rectangle rec)
public static java.awt.Shape getAWTPath(javafx.scene.shape.QuadCurve curve)
public static java.awt.Shape getAWTPath(javafx.scene.shape.CubicCurve curve)
public static java.awt.Shape getAWTPath(javafx.scene.shape.Polygon polygon)
public static java.awt.Shape getAWTPath(javafx.scene.shape.Polyline polyline)
public static java.awt.Shape getAWTPath(javafx.scene.shape.Path path)
Copyright © 2021, 2022, 2025, 2026 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence