Package org.testfx.matcher.base
Class GeometryMatchers
- java.lang.Object
-
- org.testfx.matcher.base.GeometryMatchers
-
public class GeometryMatchers extends java.lang.Object
TestFX matchers forDimension2D
instances.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
GeometryMatchers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.hamcrest.Matcher<java.lang.Object>
hasDimension(double width, double height)
Creates aTypeSafeMatcher
that matches when a givenDimension2D
's width and height equal the given width and height.private static boolean
hasDimension(javafx.geometry.Dimension2D dimension, double width, double height)
-
-
-
Method Detail
-
hasDimension
public static org.hamcrest.Matcher<java.lang.Object> hasDimension(double width, double height)
Creates aTypeSafeMatcher
that matches when a givenDimension2D
's width and height equal the given width and height.
-
hasDimension
private static boolean hasDimension(javafx.geometry.Dimension2D dimension, double width, double height)
-
-