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 TypeMethodDescriptionbooleancontains(double x, double y) booleancontains(double x, double y, double w, double h) booleanbooleangetPathIterator(AffineTransform at, double flatness) booleanintersects(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
-
contains
-
getBounds
-
getBounds2D
- Specified by:
getBounds2Din interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
intersects
- Specified by:
intersectsin interfaceShape
-
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersectsin interfaceShape
-