width property
double
width
//////////////////////////////////////////////////////
Setter and Getter methods
//////////////////////////////////////////////////////
Implementation
double get width {
return this.scale.x * this.oriWidth;
}
Implementation
set width(double w) {
this.scale.x = w / this.oriWidth;
}