CodePudding user response:
Constructor is not to use, as the constructor by system calls, direct tuning parameters in the constructorCodePudding user response:
Constructor calls to define it in place, can't write like youJX JX1 (h, w);
Or
Add a method to JX SetHW (float h, float w); To set up the two attribute
After reading, by calling the JX1. SetHW (h, w); To set the