setSizeByHeight() public method

public setSizeByHeight ( bool sizeByHeight ) : LTRect,
sizeByHeight bool
return LTRect,
Example #1
0
 static public int setSizeByHeight(IntPtr l)
 {
     try {
         LTRect         self = (LTRect)checkSelf(l);
         System.Boolean a1;
         checkType(l, 2, out a1);
         var ret = self.setSizeByHeight(a1);
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
Example #2
0
 static public int setSizeByHeight(IntPtr l)
 {
     try {
         LTRect         self = (LTRect)checkSelf(l);
         System.Boolean a1;
         checkType(l, 2, out a1);
         var ret = self.setSizeByHeight(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }