Searched refs:intersects (Results 1 - 25 of 56) sorted by relevance

123

/openjdk7/jdk/src/share/classes/java/awt/
H A DShape.java62 * <p>The <code>contains</code> and <code>intersects</code> methods
67 * determining if a shape contains or intersects a rectangle or if a
197 * Tests if the interior of the <code>Shape</code> intersects the
203 * The {@code Shape.intersects()} method allows a {@code Shape}
234 public boolean intersects(double x, double y, double w, double h); method in interface:Shape
237 * Tests if the interior of the <code>Shape</code> intersects the
239 * The {@code Shape.intersects()} method allows a {@code Shape}
263 * @see #intersects(double, double, double, double)
266 public boolean intersects(Rectangle2D r); method in interface:Shape
303 * <code>intersects</cod
[all...]
H A DPolygon.java49 * <code>contains</code>, <code>intersects</code> and <code>inside</code>
494 public boolean intersects(double x, double y, double w, double h) { method in class:Polygon
495 if (npoints <= 0 || !getBoundingBox().intersects(x, y, w, h)) {
507 public boolean intersects(Rectangle2D r) { method in class:Polygon
508 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight());
516 if (npoints <= 0 || !getBoundingBox().intersects(x, y, w, h)) {
H A DGraphics.java1210 * @return <code>true</code> if the specified rectangle intersects
1222 return clipRect.intersects(x, y, width, height);
/openjdk7/jdk/src/share/classes/sun/font/
H A DDelegatingShape.java63 public boolean intersects(double x, double y, double w, double h) { method in class:DelegatingShape
64 return delegate.intersects(x, y, w, h);
67 public boolean intersects(Rectangle2D r) { method in class:DelegatingShape
68 return delegate.intersects(r);
/openjdk7/jdk/test/java/awt/geom/CubicCurve2D/
H A DIntersectsTest.java43 if (!c.intersects(r)) {
45 "intersects(Rectangle2D) should return true");
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DRectangularShape.java319 public boolean intersects(Rectangle2D r) { method in class:RectangularShape
320 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight());
H A DArea.java602 public boolean intersects(double x, double y, double w, double h) { method in class:Area
606 if (!getCachedBounds().intersects(x, y, w, h)) {
617 public boolean intersects(Rectangle2D r) { method in class:Area
618 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight());
H A DLine2D.java579 * {@code (x2,y2)} intersects the line segment from {@code (x3,y3)}
616 * {@code (x2,y2)} intersects this line segment.
636 * Tests if the specified line segment intersects this line segment.
652 * If the specified point intersects the line segment in between the
727 * If the specified point intersects the line segment in between the
758 * If the specified point intersects the line segment in between the
779 * If the specified point intersects the line segment in between the
798 * If the specified point intersects the line segment in between the
819 * If the specified point intersects the line segment in between the
839 * intersects th
1018 public boolean intersects(double x, double y, double w, double h) { method in class:Line2D
1026 public boolean intersects(Rectangle2D r) { method in class:Line2D
[all...]
H A DEllipse2D.java351 public boolean intersects(double x, double y, double w, double h) { method in class:Ellipse2D
371 // if nearest x,y is inside circle of radius 0.5, then intersects
H A DQuadCurve2D.java1124 public boolean intersects(double x, double y, double w, double h) { method in class:QuadCurve2D
1233 // line segment intersects the Y range of the rectangle
1248 // If the part of the line segment that intersects the Y range
1308 public boolean intersects(Rectangle2D r) { method in class:QuadCurve2D
1309 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight());
H A DPath2D.java394 * drawing a Quadratic curve that intersects both the current
442 * drawing a B&eacute;zier curve that intersects both the current
1725 * drawing a Quadratic curve that intersects both the current
1742 * drawing a B&eacute;zier curve that intersects both the current
2046 * cases where the specified rectangular area intersects a
2100 * cases where the specified rectangular area intersects a
2127 * cases where the specified rectangular area intersects a
2167 * cases where the specified rectangular area intersects a
2188 * intersects the interior of a specified set of rectangular
2193 * {@link Shape#intersects(doubl
2218 public static boolean intersects(PathIterator pi, method in class:Path2D
2269 public static boolean intersects(PathIterator pi, Rectangle2D r) { method in class:Path2D
2291 public final boolean intersects(double x, double y, double w, double h) { method in class:Path2D
2330 public final boolean intersects(Rectangle2D r) { method in class:Path2D
[all...]
H A DRoundRectangle2D.java564 public boolean intersects(double x, double y, double w, double h) { method in class:RoundRectangle2D
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaSliderUI.java147 final boolean trackIntersectsClip = clip.intersects(trackRect);
152 if (trackIntersectsClip || clip.intersects(thumbRect)) paintTrack(g, c, orientation, state);
155 if (slider.getPaintTicks() && clip.intersects(tickRect)) {
159 if (slider.getPaintLabels() && clip.intersects(labelRect)) {
163 if (clip.intersects(thumbRect)) {
H A DAquaTabbedPaneUI.java160 if (rects[i].intersects(clipRect)) {
167 if (drawSelectedLast && rects[selectedIndex].intersects(clipRect)) {
187 if (rects[realIndex].intersects(clipRect)) {
194 if (visibleTabState.needsLeftScrollTab() && leftScrollTabRect.intersects(clipRect)) {
199 if (visibleTabState.needsRightScrollTab() && rightScrollTabRect.intersects(clipRect)) {
203 if (selectedIndex >= 0) { // && rects[selectedIndex].intersects(clipRect)) {
705 * Returns the tab index which intersects the specified point
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSpans.java88 * and the <code>intersects</code> method always
98 * but not including, <code>end</code> intersects
101 public boolean intersects(float start, float end) { method in class:Spans
172 * nextSpan: <------ (intersects)
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultDesktopManager.java543 // If this icon intersects the current location, get next location.
547 if ( availableRectangle.intersects(currentIcon.getBounds()) ) {
698 if ( previousBounds.intersects(currentBounds) ) {
747 boolean intersectsFrom = moveFrom.intersects(floatingItems[i]);
751 boolean intersectsTo = moveTo.intersects(floatingItems[i]);
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunGraphicsCallback.java66 if (clip == null || clip.intersects(bounds)) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthSliderUI.java832 if (slider.getPaintTrack() && clip.intersects(trackRect)) {
838 if (clip.intersects(thumbRect)) {
844 if (slider.getPaintTicks() && clip.intersects(tickRect)) {
848 if (slider.getPaintLabels() && clip.intersects(labelRect)) {
H A DSynthTabbedPaneUI.java481 if (g.getClipBounds().intersects(tabAreaBounds)) {
543 if (rects[j].intersects(clipRect) && selectedIndex != j) {
551 if (rects[selectedIndex].intersects(clipRect)) {
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifBorders.java303 if (!g.getClipBounds().intersects(titleBarRect)) {
338 if (!g.getClipBounds().intersects(borderRect)) {
364 if (!g.getClipBounds().intersects(borderRect)) {
392 if (!g.getClipBounds().intersects(borderRect)) {
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_LinearScan.hpp477 bool intersects(Range* r) const { return intersects_at(r) != -1; } function in class:Range
627 bool intersects(Interval* i) const { return _first->intersects(i->_first); } function in class:Interval
636 bool current_intersects(Interval* it) { return _current->intersects(it->_current); };
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicSliderUI.java925 if ( !clip.intersects(trackRect) && slider.getPaintTrack())
928 if ( slider.getPaintTrack() && clip.intersects( trackRect ) ) {
931 if ( slider.getPaintTicks() && clip.intersects( tickRect ) ) {
934 if ( slider.getPaintLabels() && clip.intersects( labelRect ) ) {
937 if ( slider.hasFocus() && clip.intersects( focusRect ) ) {
940 if ( clip.intersects( thumbRect ) ) {
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DAsyncBoxView.java1151 if (cs.intersects(clip)) {
1154 return lastAlloc.intersects(cs);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/
H A DControlFlowScene.java243 if (r.intersects(rectangle)) {
/openjdk7/hotspot/src/share/vm/utilities/
H A DbitMap.hpp241 bool intersects(const BitMap bits) const;

Completed in 112 milliseconds

123