height property
The height of this display object with the applied transformation.
Setting the height may change the scaleX, scaleY, skewX and skewY properties, depending on the previously applied transformation.
Implementation
num get height => boundsTransformed.height;
Implementation
set height(num value) {
final bounds = this.bounds;
final matrix = transformationMatrix;
final boundsTransformed = matrix.transformRectangle(bounds, bounds);
final scale = value / boundsTransformed.height;
final mb = scale.isFinite ? matrix.b * scale : 0.0;
final md = scale.isFinite ? matrix.d * scale : 1.0;
_reverseMatrix(matrix.a, mb, matrix.c, md);
}