add setDisplacement method
This commit is contained in:
@@ -203,6 +203,16 @@ class ImageStyle {
|
|||||||
return abstract();
|
return abstract();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the displacement.
|
||||||
|
*
|
||||||
|
* @param {Array<number>} displacement Displacement.
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
setDisplacement(displacement) {
|
||||||
|
this.displacement_ = displacement;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the opacity.
|
* Set the opacity.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user