background color
color: '#aacc22'
Optional
cornerbackground corner radius
cornerRadius: {
topLeft: {
x: '10%',
y: 10,
},
topRight: {
x: 10,
y: 10,
},
bottomLeft: {
x: 10,
y: 10,
},
bottomRight: {
x: '10%',
y: 10,
},
}
Optional
paddingpadding for text background
padding: 10
// or
padding: '10%'
// or
padding: '10% 20%'
// or
padding: '10% 20% 30%'
// or
padding: '10% 20% 30% 40%'
// or
padding: '10 20% 30 40%'
// or
padding: '10 20 30'
Optional
paddingpadding bottom for text background
paddingBottom: 10
// or
paddingBottom: '10%'
Optional
paddingpadding left and right (horizontal) for text background
paddingHorizontal: 10
// or
paddingHorizontal: '10%'
2.0.0
Optional
paddingpadding left for text background
paddingLeft: 10
// or
paddingLeft: '10%'
Optional
paddingpadding top for text background
paddingTop: 10
// or
paddingTop: '10%'
Optional
paddingpadding right for text background
paddingRight: 10
// or
paddingRight: '10%'
Optional
paddingpadding top and bottom (vertical) for text background
paddingVertical: 10
// or
paddingVertical: '10%'
2.0.0
Optional
paddingXpadding x, alias of paddingHorizontal
paddingX: 10
// or
paddingX: '10%'
Optional
paddingYpadding y, alias of paddingVertical
paddingY: 10
// or
paddingY: '10%'
Optional
typebackground type
TextBackgroundType.stretchX
type: TextBackgroundType.stretchX
Generated using TypeDoc
Description
background style for text watermark
Example