FMLiveSwitchConstraintUtility Class Reference

Instance Methods

(instancetype) - init
 

Class Methods

(double) + clampMaxWithDoubleValue:minDoubleValue:maxDoubleValue:
 
(int) + clampMaxWithIntValue:minIntValue:maxIntValue:
 
(long long) + clampMaxWithLongValue:minLongValue:maxLongValue:
 
(FMLiveSwitchSize *) + clampMaxWithSize:minSize:maxSize:
 
(double) + clampMinWithDoubleValue:minDoubleValue:maxDoubleValue:
 
(int) + clampMinWithIntValue:minIntValue:maxIntValue:
 
(long long) + clampMinWithLongValue:minLongValue:maxLongValue:
 
(FMLiveSwitchSize *) + clampMinWithSize:minSize:maxSize:
 
(double) + coalesceWithDoubleValue1:doubleValue2:
 
(int) + coalesceWithIntValue1:intValue2:
 
(long long) + coalesceWithLongValue1:longValue2:
 
(FMLiveSwitchConstraintUtility *) + constraintUtility
 
(int) + getHeightWithSize:
 
(int) + getWidthWithSize:
 
(double) + maxWithDoubleValue1:doubleValue2:
 
(int) + maxWithIntValue1:intValue2:
 
(long long) + maxWithLongValue1:longValue2:
 
(FMLiveSwitchSize *) + maxWithSize1:size2:
 
(double) + minWithDoubleValue1:doubleValue2:
 
(int) + minWithIntValue1:intValue2:
 
(long long) + minWithLongValue1:longValue2:
 
(FMLiveSwitchSize *) + minWithSize1:size2:
 
(bool) + overConstrainedWithMinDoubleValue:maxDoubleValue:
 
(bool) + overConstrainedWithMinIntValue:maxIntValue:
 
(bool) + overConstrainedWithMinLongValue:maxLongValue:
 
(bool) + overConstrainedWithMinSize:maxSize:
 

Method Documentation

◆ clampMaxWithDoubleValue:minDoubleValue:maxDoubleValue:

+ (double) clampMaxWithDoubleValue: (double)  doubleValue
minDoubleValue: (double)  minDoubleValue
maxDoubleValue: (double)  maxDoubleValue 

◆ clampMaxWithIntValue:minIntValue:maxIntValue:

+ (int) clampMaxWithIntValue: (int)  intValue
minIntValue: (int)  minIntValue
maxIntValue: (int)  maxIntValue 

◆ clampMaxWithLongValue:minLongValue:maxLongValue:

+ (long long) clampMaxWithLongValue: (long long)  longValue
minLongValue: (long long)  minLongValue
maxLongValue: (long long)  maxLongValue 

◆ clampMaxWithSize:minSize:maxSize:

+ (FMLiveSwitchSize*) clampMaxWithSize: (FMLiveSwitchSize *)  size
minSize: (FMLiveSwitchSize *)  minSize
maxSize: (FMLiveSwitchSize *)  maxSize 

◆ clampMinWithDoubleValue:minDoubleValue:maxDoubleValue:

+ (double) clampMinWithDoubleValue: (double)  doubleValue
minDoubleValue: (double)  minDoubleValue
maxDoubleValue: (double)  maxDoubleValue 

◆ clampMinWithIntValue:minIntValue:maxIntValue:

+ (int) clampMinWithIntValue: (int)  intValue
minIntValue: (int)  minIntValue
maxIntValue: (int)  maxIntValue 

◆ clampMinWithLongValue:minLongValue:maxLongValue:

+ (long long) clampMinWithLongValue: (long long)  longValue
minLongValue: (long long)  minLongValue
maxLongValue: (long long)  maxLongValue 

◆ clampMinWithSize:minSize:maxSize:

+ (FMLiveSwitchSize*) clampMinWithSize: (FMLiveSwitchSize *)  size
minSize: (FMLiveSwitchSize *)  minSize
maxSize: (FMLiveSwitchSize *)  maxSize 

◆ coalesceWithDoubleValue1:doubleValue2:

+ (double) coalesceWithDoubleValue1: (double)  doubleValue1
doubleValue2: (double)  doubleValue2 

◆ coalesceWithIntValue1:intValue2:

+ (int) coalesceWithIntValue1: (int)  intValue1
intValue2: (int)  intValue2 

◆ coalesceWithLongValue1:longValue2:

+ (long long) coalesceWithLongValue1: (long long)  longValue1
longValue2: (long long)  longValue2 

◆ constraintUtility

+ (FMLiveSwitchConstraintUtility*) constraintUtility

◆ getHeightWithSize:

+ (int) getHeightWithSize: (FMLiveSwitchSize *)  size

◆ getWidthWithSize:

+ (int) getWidthWithSize: (FMLiveSwitchSize *)  size

◆ init

- (instancetype) init

◆ maxWithDoubleValue1:doubleValue2:

+ (double) maxWithDoubleValue1: (double)  doubleValue1
doubleValue2: (double)  doubleValue2 

◆ maxWithIntValue1:intValue2:

+ (int) maxWithIntValue1: (int)  intValue1
intValue2: (int)  intValue2 

◆ maxWithLongValue1:longValue2:

+ (long long) maxWithLongValue1: (long long)  longValue1
longValue2: (long long)  longValue2 

◆ maxWithSize1:size2:

+ (FMLiveSwitchSize*) maxWithSize1: (FMLiveSwitchSize *)  size1
size2: (FMLiveSwitchSize *)  size2 

◆ minWithDoubleValue1:doubleValue2:

+ (double) minWithDoubleValue1: (double)  doubleValue1
doubleValue2: (double)  doubleValue2 

◆ minWithIntValue1:intValue2:

+ (int) minWithIntValue1: (int)  intValue1
intValue2: (int)  intValue2 

◆ minWithLongValue1:longValue2:

+ (long long) minWithLongValue1: (long long)  longValue1
longValue2: (long long)  longValue2 

◆ minWithSize1:size2:

+ (FMLiveSwitchSize*) minWithSize1: (FMLiveSwitchSize *)  size1
size2: (FMLiveSwitchSize *)  size2 

◆ overConstrainedWithMinDoubleValue:maxDoubleValue:

+ (bool) overConstrainedWithMinDoubleValue: (double)  minDoubleValue
maxDoubleValue: (double)  maxDoubleValue 

◆ overConstrainedWithMinIntValue:maxIntValue:

+ (bool) overConstrainedWithMinIntValue: (int)  minIntValue
maxIntValue: (int)  maxIntValue 

◆ overConstrainedWithMinLongValue:maxLongValue:

+ (bool) overConstrainedWithMinLongValue: (long long)  minLongValue
maxLongValue: (long long)  maxLongValue 

◆ overConstrainedWithMinSize:maxSize:

+ (bool) overConstrainedWithMinSize: (FMLiveSwitchSize *)  minSize
maxSize: (FMLiveSwitchSize *)  maxSize