Package org.jdesktop.swingx.plaf
Class ShapeUIResource
java.lang.Object
org.jdesktop.swingx.plaf.ShapeUIResource
- All Implemented Interfaces:
Shape
,UIResource
An implementation of Shape that implements UIResource. UI
classes that create Shapes should use this class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(double x, double y) boolean
contains
(double x, double y, double w, double h) boolean
boolean
getPathIterator
(AffineTransform at, double flatness) boolean
intersects
(double x, double y, double w, double h) boolean
-
Field Details
-
s
-
-
Constructor Details
-
ShapeUIResource
Creates a new instance of PainterUIResource
-
-
Method Details
-
contains
-
contains
-
contains
public boolean contains(double x, double y) -
contains
public boolean contains(double x, double y, double w, double h) -
getBounds
-
getBounds2D
- Specified by:
getBounds2D
in interfaceShape
-
getPathIterator
- Specified by:
getPathIterator
in interfaceShape
-
getPathIterator
- Specified by:
getPathIterator
in interfaceShape
-
intersects
- Specified by:
intersects
in interfaceShape
-
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersects
in interfaceShape
-