setChromaKeyForegroundPosition method
设置抠像前景的位置和大小。
@param {number} x - 前景的 x 坐标。 @param {number} y - 前景的 y 坐标。 @param {number} width - 前景的宽度。 @param {number} height - 前景的高度。
Implementation
Future<void> setChromaKeyForegroundPosition(
double x, double y, double width, double height) async {
return await _channel.invokeMethod('setChromaKeyForegroundPosition',
{'x': x, 'y': y, 'width': width, 'height': height});
}