net.aerith.misao.image.filter
Class RotateAtRightAnglesFilter
java.lang.Object
|
+--net.aerith.misao.image.filter.Filter
|
+--net.aerith.misao.image.filter.RotateAtRightAnglesFilter
- public class RotateAtRightAnglesFilter
- extends Filter
The RotateAtRightAnglesFilter
is an image processing
filter to rotate the image at right angles. The image is rotated
in clockwise direction. The result is stored in the new image.
Field Summary |
protected double |
rotation_angle
The rotation angle in degree. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
rotation_angle
protected double rotation_angle
- The rotation angle in degree.
RotateAtRightAnglesFilter
public RotateAtRightAnglesFilter()
- Constructs a filter.
RotateAtRightAnglesFilter
public RotateAtRightAnglesFilter(double angle)
- Constructs a filter with rotation angle. The image is rotated
in clockwise direction.
- Parameters:
angle
- the angle to rotate in degree.
setRotationAngle
public void setRotationAngle(double new_angle)
- Sets the angle to rotate in degree. The image is rotated in
clockwise direction.
- Parameters:
new_angle
- the angle to rotate in degree.
operate
public MonoImage operate(MonoImage image)
- Operates the image processing filter and creates the new image
buffer.
- Overrides:
- operate in class Filter
- Parameters:
image
- the original image to process.- Returns:
- the new image buffer.