| Class | Magick::Geometry |
| In: |
lib/RMagick.rb
|
| Parent: | Object |
| FLAGS | = | ['', '%', '!', '<', '>', '@', '^'] | ||
| RFLAGS | = | { '%' => PercentGeometry, '!' => AspectGeometry, '<' => LessGeometry, '>' => GreaterGeometry, '@' => AreaGeometry, '^' => MinimumGeometry } | ||
| W | = | /(\d+\.\d+%?)|(\d*%?)/ | Construct an object from a geometry string | |
| H | = | W | ||
| X | = | /(?:([-+]\d+))?/ | ||
| Y | = | X | ||
| RE | = | /\A#{W}x?#{H}#{X}#{Y}([!<>@\^]?)\Z/ |
| flag | [RW] | |
| height | [RW] | |
| width | [RW] | |
| x | [RW] | |
| y | [RW] |