flip()

Description

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

Syntax

- (void) flip

Parameters

None

Return value

void

Example


@interface ViewController ()<DcsUIImageEditorViewDelegate>{
    DcsView *dcsView;
}
@end
 
@implementation ViewController
 
- (void)viewDidLoad {
    [super viewDidLoad];
     
    dcsView = [[DcsView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
 
    dcsView.imageEditorView.delegate = self; 
    [self.view addSubview:dcsView];

    [self.dcsView.imageEditorView flip];
}

@end

Is this page helpful?

Leave a Reply

Your email address will not be published.