| Class | Fox::FXRectangle |
| In: |
rdoc-sources/FXRectangle.rb
|
| Parent: | Object |
Rectangle
| h | [RW] | Rectangle height [Integer] |
| w | [RW] | Rectangle width [Integer] |
| x | [RW] | Upper left corner‘s x-coordinate [Integer] |
| y | [RW] | Upper left corner‘s y-coordinate [Integer] |
Return an initialized FXRectangle instance.
| topleft: | upper left corner‘s initial position [FXPoint] |
| bottomright: | bottom right corner‘s initial position [FXPoint] |
Return an initialized FXRectangle instance.
| p: | upper left corner‘s initial position [FXPoint] |
| s: | initial size [FXSize] |
Return an initialized FXRectangle instance.
| xx: | upper left corner‘s initial x-coordinate [Integer] |
| yy: | upper left corner‘s initial y-coordinate [Integer] |
| ww: | initial width [Integer] |
| hh: | initial height [Integer] |
Return true if r (another FXRectangle instance) is properly contained within this rectangle.
Grow the rectangle by some amount and return a reference to the rectangle.
| hormargin: | number of units to grow on the left and right sides [Integer] |
| vermargin: | number of units to grow on the top and bottom sides [Integer] |
Grow the rectangle by some amount and return a reference to the rectangle.
| leftmargin: | number of units to grow on the left side [Integer] |
| rightmargin: | number of units to grow on the right side [Integer] |
| topmargin: | number of units to grow on the top side [Integer] |
| bottommargin: | number of units to grow on the bottom side [Integer] |
Grow the rectangle by some amount and return a reference to the rectangle.
| margin: | number of units to grow on each side [Integer] |
Shift each of the rectangle‘s corners by the amount p (an FXPoint instance) and return a reference to the rectangle.
Shift each of the rectangle‘s corners by the amount (dx, dy) and return a reference to the rectangle.
Shrink the rectangle by margin units, and return a reference to the rectangle.
| margin: | number of units to shrink on each side [Integer] |
Shrink the rectangle by some amount, and return a reference to the rectangle.
| hormargin: | number of units to shrink on the left and right sides [Integer] |
| vermargin: | number of units to shrink on the top and bottom sides [Integer] |
Shrink the rectangle by some amount, and return a reference to the rectangle.
| leftmargin: | number of units to shrink on the left side [Integer] |
| rightmargin: | number of units to shrink on the right side [Integer] |
| topmargin: | number of units to shrink on the top side [Integer] |
| bottommargin: | number of units to shrink on the bottom side [Integer] |