Files
PaintPlus/frontend/images/icons/brush_select.svg
T
Claude a9a2b7bf04 Add Canva-style Brush Select tool with SAM AI
- New tool: Paint/brush over objects to select them
- AI (SAM) detects actual object boundaries from brush strokes
- Collects sample points along brush path, sends to SAM
- Combines multiple masks for multi-object selection
- Shift+brush to add to existing selection
- Full cut/copy/delete support with mask-shaped results
- Visual feedback: brush stroke preview, sample points, marching ants
2026-01-27 04:22:44 +00:00

15 lines
686 B
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<!-- Brush body -->
<path d="M18 4L21 7L11 17H8V14L18 4Z"/>
<!-- Brush handle -->
<path d="M15.5 6.5L17.5 8.5"/>
<!-- AI sparkles/selection indicators -->
<circle cx="5" cy="5" r="1" fill="currentColor"/>
<circle cx="3" cy="9" r="0.75" fill="currentColor"/>
<circle cx="7" cy="3" r="0.75" fill="currentColor"/>
<!-- Selection dashes around brush tip -->
<path d="M6 15L4 17" stroke-dasharray="2,1"/>
<path d="M6 19L8 21" stroke-dasharray="2,1"/>
<path d="M10 19L12 21" stroke-dasharray="2,1"/>
</svg>