toggle menu
KAHelpers
androidJvm
switch theme
search in API
customviews
/
dev.funkymuse.customviews
/
WatermarkOptions
Watermark
Options
data
class
WatermarkOptions
(
val
corner
:
Corner
=
Corner.BOTTOM_RIGHT
,
val
textSizeToWidthRatio
:
Float
=
0.04f
,
val
paddingToWidthRatio
:
Float
=
0.03f
,
@
ColorInt
val
textColor
:
Int
=
Color.WHITE
,
@
ColorInt
val
shadowColor
:
Int
?
=
Color.BLACK
,
val
typeface
:
Typeface
?
=
null
)
Members
Constructors
Watermark
Options
Link copied to clipboard
constructor
(
corner
:
Corner
=
Corner.BOTTOM_RIGHT
,
textSizeToWidthRatio
:
Float
=
0.04f
,
paddingToWidthRatio
:
Float
=
0.03f
,
@
ColorInt
textColor
:
Int
=
Color.WHITE
,
@
ColorInt
shadowColor
:
Int
?
=
Color.BLACK
,
typeface
:
Typeface
?
=
null
)
Properties
corner
Link copied to clipboard
val
corner
:
Corner
padding
To
Width
Ratio
Link copied to clipboard
val
paddingToWidthRatio
:
Float
=
0.03f
shadow
Color
Link copied to clipboard
val
shadowColor
:
Int
?
text
Color
Link copied to clipboard
val
textColor
:
Int
text
Size
To
Width
Ratio
Link copied to clipboard
val
textSizeToWidthRatio
:
Float
=
0.04f
typeface
Link copied to clipboard
val
typeface
:
Typeface
?
=
null