A layout definition, including local and remote frame definitions. More...
Instance Methods | |
(NSMutableArray *) | - allFrames |
Gets all frames (local and remote). More... | |
(int) | - height |
Gets the layout height. More... | |
(instancetype) | - init |
(FMLiveSwitchLayoutFrame *) | - localFrame |
Gets the local frame. More... | |
(FMLiveSwitchLayoutOrigin) | - origin |
Gets the layout origin. More... | |
(NSMutableArray *) | - remoteFrames |
Gets the remote frames. More... | |
(void) | - setHeight: |
Sets the layout height. More... | |
(void) | - setLocalFrame: |
Sets the local frame. More... | |
(void) | - setOrigin: |
Sets the layout origin. More... | |
(void) | - setRemoteFrames: |
Sets the remote frames. More... | |
(void) | - setWidth: |
Sets the layout width. More... | |
(void) | - swapFramesWithFrame1:frame2: |
Swaps the properties of two frames. More... | |
(void) | - swapLocalFrameWithRemoteFrameIndex: |
Swaps the local frame with a remote frame. More... | |
(void) | - swapRemoteFramesWithRemoteFrameIndex1:remoteFrameIndex2: |
Swaps two remote frames. More... | |
(int) | - width |
Gets the layout width. More... | |
Class Methods | |
(FMLiveSwitchLayout *) | + layout |
A layout definition, including local and remote frame definitions.
- (NSMutableArray*) allFrames |
Gets all frames (local and remote).
- (int) height |
Gets the layout height.
- (instancetype) init |
+ (FMLiveSwitchLayout*) layout |
- (FMLiveSwitchLayoutFrame*) localFrame |
Gets the local frame.
- (FMLiveSwitchLayoutOrigin) origin |
Gets the layout origin.
- (NSMutableArray*) remoteFrames |
Gets the remote frames.
- (void) setHeight: | (int) | value |
Sets the layout height.
- (void) setLocalFrame: | (FMLiveSwitchLayoutFrame *) | value |
Sets the local frame.
- (void) setOrigin: | (FMLiveSwitchLayoutOrigin) | value |
Sets the layout origin.
- (void) setRemoteFrames: | (NSMutableArray *) | value |
Sets the remote frames.
- (void) setWidth: | (int) | value |
Sets the layout width.
- (void) swapFramesWithFrame1: | (FMLiveSwitchLayoutFrame *) | frame1 | |
frame2: | (FMLiveSwitchLayoutFrame *) | frame2 | |
Swaps the properties of two frames.
frame1 | The first frame. |
frame2 | The second frame. |
- (void) swapLocalFrameWithRemoteFrameIndex: | (int) | remoteFrameIndex |
Swaps the local frame with a remote frame.
remoteFrameIndex | The index of the remote frame. |
- (void) swapRemoteFramesWithRemoteFrameIndex1: | (int) | remoteFrameIndex1 | |
remoteFrameIndex2: | (int) | remoteFrameIndex2 | |
Swaps two remote frames.
remoteFrameIndex1 | The index of the first remote frame. |
remoteFrameIndex2 | The index of the second remote frame. |
- (int) width |
Gets the layout width.