public class PointUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
convertToAbsoluteBounds(Node<?,?> targetNode) |
static void |
convertToRelativeBounds(Node<?,?> targetNode) |
static Point2D |
dmndiPointToPoint2D(org.kie.dmn.model.api.dmndi.Point dmndiPoint) |
static double |
heightOfShape(org.kie.dmn.model.api.dmndi.DMNShape shape) |
static Bound |
lowerRightBound(View view) |
static org.kie.dmn.model.api.dmndi.Point |
point2dToDMNDIPoint(Point2D point2d) |
static Bound |
upperLeftBound(View view) |
static double |
widthOfShape(org.kie.dmn.model.api.dmndi.DMNShape shape) |
static double |
xOfBound(Bound bound) |
static double |
xOfShape(org.kie.dmn.model.api.dmndi.DMNShape shape) |
static double |
yOfBound(Bound bound) |
static double |
yOfShape(org.kie.dmn.model.api.dmndi.DMNShape shape) |
public static org.kie.dmn.model.api.dmndi.Point point2dToDMNDIPoint(Point2D point2d)
public static Point2D dmndiPointToPoint2D(org.kie.dmn.model.api.dmndi.Point dmndiPoint)
public static void convertToAbsoluteBounds(Node<?,?> targetNode)
public static void convertToRelativeBounds(Node<?,?> targetNode)
public static double xOfShape(org.kie.dmn.model.api.dmndi.DMNShape shape)
public static double yOfShape(org.kie.dmn.model.api.dmndi.DMNShape shape)
public static double widthOfShape(org.kie.dmn.model.api.dmndi.DMNShape shape)
public static double heightOfShape(org.kie.dmn.model.api.dmndi.DMNShape shape)
public static double xOfBound(Bound bound)
public static double yOfBound(Bound bound)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.