Package in.itzmeanjan.filterit.rotation
Class HorizontalRotation
- java.lang.Object
-
- in.itzmeanjan.filterit.rotation.HorizontalRotation
-
-
Constructor Summary
Constructors Constructor Description HorizontalRotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImage
rotate(java.awt.image.BufferedImage img)
Goes over each row of buffered image & rotates it left to right, where each row rotation to be done by one thread i.e.java.awt.image.BufferedImage
rotate(java.lang.String src)
Reads content of image & calls method defined exactly above
-
-
-
Method Detail
-
rotate
public java.awt.image.BufferedImage rotate(java.awt.image.BufferedImage img)
Goes over each row of buffered image & rotates it left to right, where each row rotation to be done by one thread i.e. concurrently rows can be rotated by different threadsReversing each row is what we call horizontally rotating image i.e. rotating image across its X-axis 180°
-
-