[{"data":1,"prerenderedAt":257},["ShallowReactive",2],{"navigation_docs":3,"-user-guide-tools-selection":127,"-user-guide-tools-selection-surround":252},[4,23,91,109],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Download","\u002Fgetting-started\u002Fdownload","1.getting-started\u002F2.download",{"title":19,"path":20,"stem":21},"Roadmap","\u002Fgetting-started\u002Froadmap","1.getting-started\u002F3.roadmap",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"User Guide","i-lucide-book-open","\u002Fuser-guide","2.user-guide",[29,75,79,83,87],{"title":30,"icon":31,"path":32,"stem":33,"children":34,"page":22},"Tools","i-lucide-wrench","\u002Fuser-guide\u002Ftools","2.user-guide\u002F1.tools",[35,39,43,47,51,55,59,63,67,71],{"title":36,"path":37,"stem":38},"Brush","\u002Fuser-guide\u002Ftools\u002Fbrush","2.user-guide\u002F1.tools\u002F1.brush",{"title":40,"path":41,"stem":42},"Crop","\u002Fuser-guide\u002Ftools\u002Fcrop","2.user-guide\u002F1.tools\u002F10.crop",{"title":44,"path":45,"stem":46},"Eraser","\u002Fuser-guide\u002Ftools\u002Feraser","2.user-guide\u002F1.tools\u002F2.eraser",{"title":48,"path":49,"stem":50},"Shapes","\u002Fuser-guide\u002Ftools\u002Fshapes","2.user-guide\u002F1.tools\u002F3.shapes",{"title":52,"path":53,"stem":54},"Selection","\u002Fuser-guide\u002Ftools\u002Fselection","2.user-guide\u002F1.tools\u002F4.selection",{"title":56,"path":57,"stem":58},"Fill","\u002Fuser-guide\u002Ftools\u002Ffill","2.user-guide\u002F1.tools\u002F5.fill",{"title":60,"path":61,"stem":62},"Gradient","\u002Fuser-guide\u002Ftools\u002Fgradient","2.user-guide\u002F1.tools\u002F6.gradient",{"title":64,"path":65,"stem":66},"Color Picker","\u002Fuser-guide\u002Ftools\u002Fcolor-picker","2.user-guide\u002F1.tools\u002F7.color-picker",{"title":68,"path":69,"stem":70},"Text","\u002Fuser-guide\u002Ftools\u002Ftext","2.user-guide\u002F1.tools\u002F8.text",{"title":72,"path":73,"stem":74},"Transform","\u002Fuser-guide\u002Ftools\u002Ftransform","2.user-guide\u002F1.tools\u002F9.transform",{"title":76,"path":77,"stem":78},"Layers & Compositing","\u002Fuser-guide\u002Flayers-and-compositing","2.user-guide\u002F2.layers-and-compositing",{"title":80,"path":81,"stem":82},"Canvas Workflow","\u002Fuser-guide\u002Fcanvas-workflow","2.user-guide\u002F3.canvas-workflow",{"title":84,"path":85,"stem":86},"Documents","\u002Fuser-guide\u002Fdocuments","2.user-guide\u002F4.documents",{"title":88,"path":89,"stem":90},"Troubleshooting","\u002Fuser-guide\u002Ftroubleshooting","2.user-guide\u002F5.troubleshooting",{"title":92,"icon":93,"path":94,"stem":95,"children":96,"page":22},"Tips & Tricks","i-lucide-lightbulb","\u002Ftips-and-tricks","3.tips-and-tricks",[97,101,105],{"title":98,"path":99,"stem":100},"Canvas & Gestures","\u002Ftips-and-tricks\u002Fcanvas-and-gestures","3.tips-and-tricks\u002F1.canvas-and-gestures",{"title":102,"path":103,"stem":104},"Brushes & Strokes","\u002Ftips-and-tricks\u002Fbrushes-and-strokes","3.tips-and-tricks\u002F2.brushes-and-strokes",{"title":106,"path":107,"stem":108},"Color & Selections","\u002Ftips-and-tricks\u002Fcolor-and-selections","3.tips-and-tricks\u002F3.color-and-selections",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":22},"Development","i-lucide-code","\u002Fdevelopment","4.development",[115,119,123],{"title":116,"path":117,"stem":118},"Development Overview","\u002Fdevelopment\u002Foverview","4.development\u002F1.overview",{"title":120,"path":121,"stem":122},"AI & LLM Usage","\u002Fdevelopment\u002Fai-and-llm-usage","4.development\u002F2.ai-and-llm-usage",{"title":124,"path":125,"stem":126},"Changelog","\u002Fdevelopment\u002Fchangelog","4.development\u002F3.changelog",{"id":128,"title":52,"body":129,"description":245,"extension":246,"links":247,"meta":248,"navigation":249,"path":53,"seo":250,"stem":54,"__hash__":251},"docs\u002F2.user-guide\u002F1.tools\u002F4.selection.md",{"type":130,"value":131,"toc":237},"minimark",[132,136,140,144,167,182,186,189,215,219,222,226,230],[133,134,52],"h1",{"id":135},"selection",[137,138,139],"p",{},"Selections constrain painting, filling and filters to a region of the canvas.",[141,142,48],"h2",{"id":143},"shapes",[145,146,147,155,161],"ul",{},[148,149,150,154],"li",{},[151,152,153],"strong",{},"Rectangular"," - drag a box.",[148,156,157,160],{},[151,158,159],{},"Elliptical"," - drag an ellipse.",[148,162,163,166],{},[151,164,165],{},"Freehand"," - draw an arbitrary outline.",[137,168,169,170,174,175,178,179,181],{},"Hold ",[171,172,173],"code",{},"Shift"," to add to the selection, ",[171,176,177],{},"Alt"," to subtract, both to intersect.\nWith nothing selected yet, ",[171,180,173],{}," constrains the drag to a square or circle.",[141,183,185],{"id":184},"mask-editing","Mask editing",[137,187,188],{},"Paint the selection instead of drawing a shape. Size is shared with the Brush;\nStrength follows pen pressure and builds up while you hold the brush in place.",[145,190,191,197,203,209],{},[148,192,193,196],{},[151,194,195],{},"Marquee"," - drag the shape above. Shows the shape it will draw.",[148,198,199,202],{},[151,200,201],{},"Add"," - paint selection in.",[148,204,205,208],{},[151,206,207],{},"Erase"," - paint selection out.",[148,210,211,214],{},[151,212,213],{},"Blur"," - soften the mask under the brush.",[141,216,218],{"id":217},"mask-preview","Mask Preview",[137,220,221],{},"Tints the canvas by coverage - blue barely selected, red fully selected,\nunselected left clear.",[223,224,225],"note",{},"Outline marks the >0% line, so a feathered or half-erased selection\nlooks identical to a hard one. Mask Preview is how you see the difference.",[141,227,229],{"id":228},"working-with-a-selection","Working with a selection",[137,231,232,233,236],{},"While a selection is active, every edit is clipped to it. Selections pair well\nwith masks and adjustment layers - see\n",[234,235,76],"a",{"href":77}," - and can be turned\ninto a layer mask to make the clip permanent and re-editable.",{"title":238,"searchDepth":239,"depth":239,"links":240},"",2,[241,242,243,244],{"id":143,"depth":239,"text":48},{"id":184,"depth":239,"text":185},{"id":217,"depth":239,"text":218},{"id":228,"depth":239,"text":229},"Constrain edits to a region with rectangular, elliptical or freehand selections.","md",null,{},true,{"title":52,"description":245},"dFjHzA8T8jUSvWYieb_8DJ-Bn_EBtl7FqQc3CJ5KSm4",[253,255],{"title":48,"path":49,"stem":50,"description":254,"children":-1},"Draw lines, rectangles, ellipses and triangles.",{"title":56,"path":57,"stem":58,"description":256,"children":-1},"Flood-fill an area with the current color.",1788292910369]