A point (x and y coordinates). More...
Instance Methods | |
| (NSString *) | - description |
| Returns a string that represents this instance using format "{x},{y}". More... | |
| (instancetype) | - init |
| Initializes a new instance of the FMLiveSwitchPoint class. More... | |
| (instancetype) | - initWithX:y: |
| Initializes a new instance of the FMLiveSwitchPoint class. More... | |
| (bool) | - isEquivalentWithPoint: |
| Determines whether the specified point is equivalent. More... | |
| (void) | - setX: |
| Sets the X coordinate. More... | |
| (void) | - setY: |
| Sets the Y coordinate. More... | |
| (NSString *) | - toJson |
| Serializes this instance to JSON. More... | |
| (int) | - x |
| Gets the X coordinate. More... | |
| (int) | - y |
| Gets the Y coordinate. More... | |
Class Methods | |
| (FMLiveSwitchPoint *) | + empty |
| Gets the empty point (0,0). More... | |
| (FMLiveSwitchPoint *) | + fromJsonWithPointJson: |
| Deserializes an instance from JSON. More... | |
| (bool) | + isEquivalentWithPoint1:point2: |
| Determines whether the two points are equivalent. More... | |
| (FMLiveSwitchPoint *) | + point |
| Initializes a new instance of the FMLiveSwitchPoint class. More... | |
| (FMLiveSwitchPoint *) | + pointWithX:y: |
| Initializes a new instance of the FMLiveSwitchPoint class. More... | |
| (NSString *) | + toJsonWithPoint: |
| Serializes an instance to JSON. More... | |
A point (x and y coordinates).
| - (NSString*) description |
Returns a string that represents this instance using format "{x},{y}".
| + (FMLiveSwitchPoint*) empty |
Gets the empty point (0,0).
| + (FMLiveSwitchPoint*) fromJsonWithPointJson: | (NSString *) | pointJson |
Deserializes an instance from JSON.
| pointJson | The JSON to deserialize. |
| - (instancetype) init |
Initializes a new instance of the FMLiveSwitchPoint class.
| - (instancetype) initWithX: | (int) | x | |
| y: | (int) | y | |
Initializes a new instance of the FMLiveSwitchPoint class.
| x | The X coordinate. |
| y | The Y coordinate. |
| + (bool) isEquivalentWithPoint1: | (FMLiveSwitchPoint *) | point1 | |
| point2: | (FMLiveSwitchPoint *) | point2 | |
Determines whether the two points are equivalent.
| point1 | The first point. |
| point2 | The second point. |
| - (bool) isEquivalentWithPoint: | (FMLiveSwitchPoint *) | point |
Determines whether the specified point is equivalent.
| point | The point. |
| + (FMLiveSwitchPoint*) point |
Initializes a new instance of the FMLiveSwitchPoint class.
| + (FMLiveSwitchPoint*) pointWithX: | (int) | x | |
| y: | (int) | y | |
Initializes a new instance of the FMLiveSwitchPoint class.
| x | The X coordinate. |
| y | The Y coordinate. |
| - (void) setX: | (int) | value |
Sets the X coordinate.
| - (void) setY: | (int) | value |
Sets the Y coordinate.
| - (NSString*) toJson |
Serializes this instance to JSON.
| + (NSString*) toJsonWithPoint: | (FMLiveSwitchPoint *) | point |
Serializes an instance to JSON.
| point | The point. |
| - (int) x |
Gets the X coordinate.
| - (int) y |
Gets the Y coordinate.