widthRatio property

  1. @JsonKey(name: 'widthRatio')
double? widthRatio
final

The width of the watermark. The SDK calculates the height of the watermark proportionally according to this parameter value to ensure that the enlarged or reduced watermark image is not distorted. The value range is 0,1, and the default value is 0, which means no watermark is displayed.

Implementation

@JsonKey(name: 'widthRatio')
final double? widthRatio;