| Class | Fox::FXSize |
| In: |
rdoc-sources/FXSize.rb
|
| Parent: | Object |
| h | [RW] | Height [Integer] |
| w | [RW] | Width [Integer] |
Return an initialized FXSize instance, where ww and hh are the initial width and height.
Grow the rectangle by some amount and return a reference to the rectangle.
| margin: | number of units to grow on each side [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.
| 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] |
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] |