Added
- Add filter type with shape fill option
imageEditor.setDrawingShape('rect', {
fill: {
type: 'filter',
filter: [{blur: 0.3}, {pixelate: 20}]
},
width: 100,
height: 200
});
imageEditor.addShape('rect', {
fill: {
type: 'filter',
filter: [{blur: 0.3}, {pixelate: 20}]
},
width: 100,
height: 200,
left: 100,
top: 100,
stroke: 'blue',
strokeWidth: 3
});
- Added an option to draw an arrow shape with the line drawing option.
imageEditor.startDrawingMode('LINE_DRAWING', {
width: 10,
color: 'rgba(255,0,0,0.5)',
arrowType: {
tail: 'chevron' // triangle
}
});
- Added autofocus option for
addText api.
bug-fix
- Fixed minor bugs in text objects (fix #262 #109).