Skip to content

14/5000 Modify the width of the brush and the display brush size #929

@whomeet

Description

@whomeet

1、You can define that the color and width of the brush do not take effect by setting the color and width properties of the paint object
paint: {
color: '#ffffff', // 这里设置你想要的默认画笔颜色
width: 100, // 画笔宽度
}

2、imageEditor.startDrawingMode('FREE_DRAWING');
imageEditor.setBrush({
width: 12,
color: 'rgba(0, 0, 0, 0.5)'
});

Neither approach works, so what went wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions