add setDisplacement method

This commit is contained in:
mike-000
2021-10-25 10:18:18 +01:00
committed by GitHub
parent 658f55d03f
commit 1249ecee45

View File

@@ -203,6 +203,16 @@ class ImageStyle {
return abstract();
}
/**
* Set the displacement.
*
* @param {Array<number>} displacement Displacement.
* @api
*/
setDisplacement(displacement) {
this.displacement_ = displacement;
}
/**
* Set the opacity.
*