|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.text.html.Map.CircleRegionContainment
Used to test for containment in a circular region.
Field Summary | |
(package private) int |
lastHeight
Last value of height passed in. |
(package private) int |
lastWidth
Last value of width passed in. |
(package private) float[] |
percentValues
Non-null indicates one of the values represents a percent. |
(package private) int |
radiusSquared
Radius of the circle. |
(package private) int |
x
X origin of the circle. |
(package private) int |
y
Y origin of the circle. |
Constructor Summary | |
Map.CircleRegionContainment(AttributeSet as)
|
Method Summary | |
boolean |
contains(int x,
int y,
int width,
int height)
Returns true if the location x , y
falls inside the region defined in the receiver.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int x
int y
int radiusSquared
float[] percentValues
int lastWidth
int lastHeight
Constructor Detail |
public Map.CircleRegionContainment(AttributeSet as)
Method Detail |
public boolean contains(int x, int y, int width, int height)
Map.RegionContainment
x
, y
falls inside the region defined in the receiver.
width
, height
is the size of
the enclosing region.
contains
in interface Map.RegionContainment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |