animate Height By
fun M2Rect.animateHeightBy(durationMillis: Long, dHeight: Float, repeat: M2AnimatorRepeat = M2AnimatorRepeat.None, apply: Boolean = false, callback: IM2AnimatorCallback? = null): M2Animator
Animates this rectangle's height by a relative delta dHeight over the given duration.
Return
M2Animator — the configured height animator (not yet started).
Parameters
duration Millis
The Long animation duration in milliseconds.
d Height
The Float height change in pixels.
repeat
The M2AnimatorRepeat mode. Defaults to M2AnimatorRepeat.None.
apply
Boolean — true to synchronize the SDK-side height on stop.
callback
An optional IM2AnimatorCallback to receive lifecycle events.