flip()

Description

Flips the image in the editor vertically (as opposed to mirror).

Syntax

func flip()

Parameters

None

Return value

Void

Example

class ViewController: UIViewController{
    var dcsView:DcsView!
    override func viewDidLoad() {
        super.viewDidLoad()
        dcsView = DcsView(frame: CGRect(x:0,y:0,width:self.view.frame.size.width,height:self.view.frame.size.height))
        dcsView.currentView = DVE_EDITORVIEW
        dcsView.imageEditorView.filp()
    }
}
Is this page helpful?