Mercurial > hg > digilib-old
comparison servlet/src/digilib/image/DocuImage.java @ 101:78f52a1876fe
digilib V1.9b1
- ongoing work with rotation (still doesn't work as I want)
author | robcast |
---|---|
date | Mon, 05 May 2003 22:19:08 +0200 |
parents | 997ba69afb81 |
children | a32e8c80e2f2 |
comparison
equal
deleted
inserted
replaced
100:cc6a0b9ac78e | 101:78f52a1876fe |
---|---|
159 throws ImageOpException; | 159 throws ImageOpException; |
160 | 160 |
161 /** Rotates the current image. | 161 /** Rotates the current image. |
162 * | 162 * |
163 * Replaces the current image with a rotated image. The image is rotated | 163 * Replaces the current image with a rotated image. The image is rotated |
164 * around the point <code>x</code>,<code>y</code> by <code>angle</code> | 164 * around the center by the <code>angle</code> |
165 * given in degrees [0, 360] clockwise. | 165 * given in degrees [0, 360] clockwise. |
166 * Image size and aspect ratio are likely to change. | 166 * Image size and aspect ratio are likely to change. |
167 * | 167 * |
168 * @param angle rotation angle in degree | 168 * @param angle rotation angle in degree |
169 */ | 169 */ |
172 /** Mirrors the current image. | 172 /** Mirrors the current image. |
173 * | 173 * |
174 * Replaces the current image with a mirrored image. The mirror axis goes | 174 * Replaces the current image with a mirrored image. The mirror axis goes |
175 * through the center of the image and is rotated by <code>angle</code> | 175 * through the center of the image and is rotated by <code>angle</code> |
176 * degrees. Currently only horizontal and vertical mirroring (0 and 90 | 176 * degrees. Currently only horizontal and vertical mirroring (0 and 90 |
177 * degree) are supported. | 177 * degree) are supported. |
178 * | 178 * |
179 * @param angle angle of mirror axis | 179 * @param angle angle of mirror axis |
180 * @throws ImageOpException | 180 * @throws ImageOpException |
181 */ | 181 */ |
182 public void mirror(double angle) throws ImageOpException; | 182 public void mirror(double angle) throws ImageOpException; |