Optional
boldtext bold
false
bold: true
Optional
colorfont color
color: '#aacc22'
Optional
fontfont name
fontName: 'Arial'
Optional
fontfont size, Android use sp
, iOS use pt
fontSize: 12
Optional
italictext italic
false
italic: true
Optional
rotaterotate text
0
rotate: 45
Optional
shadowtext shadow style
shadowStyle: {
dx: 10,
dy: 10,
radius: 10,
color: '#aacc22'
}
Optional
skewXcss italic with degree, you can use italic instead
skewX: 45
Optional
striketext stroke
false
strikeThrough: true
Optional
texttext align
'left'
textAlign: 'left'
Optional
texttext background style
textBackgroundStyle: {
paddingX: 10,
paddingY: 10,
type: TextBackgroundType.stretchX,
color: '#aacc22'
}
Optional
underlinetext underline style
false
underline: true
Generated using TypeDoc
Description
TextStyle for text watermark
Example