ws1-framework/com.airwatch.login.ui/AWWatermarkView
AWWatermarkView¶
class AWWatermarkView
A custom view to draw watermark text.
Properties¶
| Name | Summary |
|---|---|
| color | var color: Int Denotes the watermark text color. The default value is #0079B8, which looks good in both dark mode and light mode. |
| text | var text: String Denotes the watermark text to be drawn on the view. |
| textAlpha | var textAlpha: Float Denotes the watermark text opacity in percentage. The default value is 20% (0.2f). The value should be between 20% (0.2f) and 100% (1.0f). |
| textRotation | var textRotation: Int Denotes the watermark text rotation in degree. The default value is -45 degree. |
| textSize | var textSize: Int Denotes the watermark text size in dp unit. The default value is 17dp. |