14/5000 Modify the width of the brush and the display brush size · Issue #929 · nhn/tui.image-editor · GitHub
Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

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

Open

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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