      
      - Parameter angle: The angle to rotate in radians
      */
-    func rotate(angle angle: CGFloat) {
+    public func rotate(angle angle: CGFloat) {
         self.transform = CGAffineTransformRotate(self.transform, angle)
     }
     

     - Parameter sx: Scale factor in the x dimension
     - Parameter xy: Scale factor in the y dimension
     */
    func scale(sx sx: CGFloat, sy: CGFloat) {
        self.transform = CGAffineTransformScale(self.transform, sx, sy)
    }
    

     transform is applied. Smaller values will have an exaggerated perspective.
     Default value is 1000 points.
     */
    public func flipHorizontal(perspectiveDistance: CGFloat = 1000.0) {
        self.layer.transform.m34 = -1.0 / perspectiveDistance
        self.layer.transform = CATransform3DRotate(self.layer.transform, CGFloat(M_PI), 0, 1.0, 0)
    }
