| java.lang.Object sun.porting.utils.YXBandList sun.porting.utils.RegionImpl
RegionImpl | public class RegionImpl extends YXBandList implements Region(Code) | | Region manipulation code. This code attempts to avoid using full-fledged
Y-X bands if one or both of the regions being manipulated are single
rectangles.
version: 1.9, 08/19/02 author: Richard Berlin |
Method Summary | |
public boolean | contains(int x, int y) | public boolean | contains(int x, int y, int w, int h) | public Region | copy() | public void | defragment(boolean isClip) | public boolean | equals(Region reg) | public java.awt.Rectangle | getBounds() | public Enumeration | getRectangles() | public void | intersect(Region reg) | public void | intersect(java.awt.Rectangle r) | public void | intersect(int x, int y, int w, int h) | public boolean | isEmpty() | public boolean | isRectangle() | public boolean | mayIntersect(Region r) | public boolean | mayIntersect(java.awt.Rectangle r) | public boolean | mayIntersect(int x, int y, int w, int h) | public void | setEmpty() | public void | subtract(Region reg) | public void | subtract(java.awt.Rectangle r) | public void | subtract(int x, int y, int w, int h) | public String | toString() | public void | translate(int dx, int dy) | public void | union(Region reg) | public void | union(int x, int y, int w, int h) | public void | union(java.awt.Rectangle r) |
RegionImpl | public RegionImpl()(Code) | | |
RegionImpl | public RegionImpl(int x, int y, int w, int h)(Code) | | |
contains | public boolean contains(int x, int y)(Code) | | |
contains | public boolean contains(int x, int y, int w, int h)(Code) | | |
defragment | public void defragment(boolean isClip)(Code) | | |
intersect | public void intersect(int x, int y, int w, int h)(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
isRectangle | public boolean isRectangle()(Code) | | |
mayIntersect | public boolean mayIntersect(int x, int y, int w, int h)(Code) | | |
setEmpty | public void setEmpty()(Code) | | |
subtract | public void subtract(int x, int y, int w, int h)(Code) | | |
translate | public void translate(int dx, int dy)(Code) | | |
union | public void union(int x, int y, int w, int h)(Code) | | |
Methods inherited from sun.porting.utils.YXBandList | protected boolean contains(int x, int y, int w, int h)(Code)(Java Doc) protected void copyBands(YXBandList src)(Code)(Java Doc) public void deFragment()(Code)(Java Doc) public boolean equals(YXBandList head)(Code)(Java Doc) public java.awt.Rectangle getBounds()(Code)(Java Doc) public void init(int x, int y, int w, int h)(Code)(Java Doc) protected void intersect(int x, int y, int w, int h)(Code)(Java Doc) protected void intersect(YXBand l, int x1, int x2)(Code)(Java Doc) public boolean isRectangle()(Code)(Java Doc) protected void subtract(int x, int y, int w, int h)(Code)(Java Doc) protected void subtract(YXBand l)(Code)(Java Doc) public String toString()(Code)(Java Doc) protected void translate(int dx, int dy)(Code)(Java Doc) protected void union(int x, int y, int w, int h)(Code)(Java Doc) protected void union(YXBand l)(Code)(Java Doc)
|
|
|