Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Instance Methods | List of all members
SkiaUIContext Class Reference
Inheritance diagram for SkiaUIContext:
SkiaContext

Instance Methods

(UIView *) - makeViewWithController:withFrame:
 
(SkiaViewController *) - getViewController:
 

Detailed Description

Definition at line 52 of file SkiaUIContext.mm.

Method Documentation

◆ getViewController:

- (SkiaViewController *) getViewController: (UIView*)  view

Reimplemented from SkiaContext.

Definition at line 16 of file SkiaUIContext.mm.

63 :(UIView*)view {
64 return [view isKindOfClass:[SkiaUIView class]] ? [(SkiaUIView*)view controller] : nil;
65}

◆ makeViewWithController:withFrame:

- (UIView *) makeViewWithController: (SkiaViewController*)  vc
withFrame: (CGRect)  frame 

Reimplemented from SkiaContext.

Definition at line 16 of file SkiaUIContext.mm.

58 :(SkiaViewController*)vc withFrame:(CGRect)frame {
59 SkiaUIView* skiaView = [[SkiaUIView alloc] initWithFrame:frame];
60 [skiaView setController:vc];
61 return skiaView;
62}
double frame
Definition examples.cpp:31
instancetype initWithFrame

The documentation for this class was generated from the following file: