Lines Matching full:rectangle
13 /// This file defines the APIs for creating a 2 dimensional rectangle.
17 /// A 2 dimensional rectangle. A rectangle is represented by x and y (which
18 /// identifies the upper-left corner of the rectangle), width, and height.
83 /// the origin of the rectangle and a pointer to a <code>Size</code>
203 /// @return The size of the rectangle.
218 /// rectangle. Note that this coordinate value is one past the highest x
219 /// value of pixels in the rectangle. This loop will access all the pixels
220 /// in a horizontal line in the rectangle:
229 /// rectangle. Note that this coordinate value is one past the highest xy
230 /// value of pixels in the rectangle. This loop will access all the pixels
231 /// in a horizontal line in the rectangle:
259 /// Inset() shrinks the rectangle by a horizontal and vertical
270 /// Inset() shrinks the rectangle by the specified amount on each
283 /// Offset() moves the rectangle by a horizontal and vertical distance.
291 /// Offset() moves the rectangle by a horizontal and vertical distance.
299 /// IsEmpty() determines if the area of a rectangle is zero. Returns true if
300 /// the area of the rectangle is zero.
302 /// @return true if the area of the rectangle is zero.
308 /// falls inside this rectangle. The point (x, y) is inside the rectangle,
314 /// @return true if the point_x and point_y fall inside the rectangle.
318 /// rectangle.
322 /// @return true if the point_x and point_y fall inside the rectangle.
327 /// Contains() determines if this rectangle contains the specified rectangle.
331 /// @return true if the rectangle fall inside this rectangle.
334 /// Intersects() determines if this rectangle intersects the specified
335 /// rectangle.
339 /// @return true if the rectangle intersects this rectangle.
342 /// Intersect() computes the intersection of this rectangle with the given
343 /// rectangle.
350 /// Union() computes the union of this rectangle with the given rectangle.
351 /// The union is the smallest rectangle containing both rectangles.
358 /// Subtract() computes the rectangle resulting from subtracting
369 /// AdjustToFit() fits as much of the receiving rectangle within
370 /// the supplied rectangle as possible, returning the result. For example,
372 /// rectangle had an x-location of 0 with a width of 5, the returned
373 /// rectangle would have an x-location of 1 with a width of 4.
378 /// rectangle and the receiving rectangle.
381 /// CenterPoint() determines the center of this rectangle.
383 /// @return A <code>Point</code> representing the center of this rectangle.
386 /// SharesEdgeWith() determines if this rectangle shares an entire edge
387 /// (same width or same height) with the given rectangle, and the
392 /// @return true if this rectangle and supplied rectangle share an edge.