[{"data":1,"prerenderedAt":598},["ShallowReactive",2],{"navigation_docs_en":3,"-en-build-lines-and-polygons":162,"-en-build-lines-and-polygons-surround":593},[4,26,66,86,117,146],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Start here","i-lucide-flag","\u002Fen\u002Fstart","en\u002F1.start",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Welcome","\u002Fen\u002Fstart\u002Fwelcome","en\u002F1.start\u002F1.welcome","i-lucide-hand",{"title":16,"path":17,"stem":18,"icon":19},"Your first course","\u002Fen\u002Fstart\u002Ffirst-course","en\u002F1.start\u002F2.first-course","i-lucide-rocket",{"title":21,"path":22,"stem":23,"icon":24},"Editor tour","\u002Fen\u002Fstart\u002Feditor-tour","en\u002F1.start\u002F3.editor-tour","i-lucide-map",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Build slides","i-lucide-shapes","\u002Fen\u002Fbuild","en\u002F2.build",[32,37,41,46,51,56,61],{"title":33,"path":34,"stem":35,"icon":36},"Slides, scenes and layouts","\u002Fen\u002Fbuild\u002Fslides-and-scenes","en\u002F2.build\u002F1.slides-and-scenes","i-lucide-presentation",{"title":38,"path":39,"stem":40,"icon":28},"Objects","\u002Fen\u002Fbuild\u002Fobjects","en\u002F2.build\u002F2.objects",{"title":42,"path":43,"stem":44,"icon":45},"Lines and polygons","\u002Fen\u002Fbuild\u002Flines-and-polygons","en\u002F2.build\u002F3.lines-and-polygons","i-lucide-spline",{"title":47,"path":48,"stem":49,"icon":50},"Media","\u002Fen\u002Fbuild\u002Fmedia","en\u002F2.build\u002F4.media","i-lucide-image",{"title":52,"path":53,"stem":54,"icon":55},"Layers","\u002Fen\u002Fbuild\u002Flayers","en\u002F2.build\u002F5.layers","i-lucide-layers-2",{"title":57,"path":58,"stem":59,"icon":60},"Timeline, states and animation","\u002Fen\u002Fbuild\u002Ftimeline-and-animation","en\u002F2.build\u002F6.timeline-and-animation","i-lucide-clapperboard",{"title":62,"path":63,"stem":64,"icon":65},"Design and theme","\u002Fen\u002Fbuild\u002Fdesign-and-theme","en\u002F2.build\u002F7.design-and-theme","i-lucide-palette",{"title":67,"icon":68,"path":69,"stem":70,"children":71,"page":25},"Interactivity","i-lucide-zap","\u002Fen\u002Finteract","en\u002F3.interact",[72,76,81],{"title":73,"path":74,"stem":75,"icon":68},"Triggers and variables","\u002Fen\u002Finteract\u002Ftriggers-and-variables","en\u002F3.interact\u002F1.triggers-and-variables",{"title":77,"path":78,"stem":79,"icon":80},"Trigger recipes","\u002Fen\u002Finteract\u002Ftrigger-recipes","en\u002F3.interact\u002F2.trigger-recipes","i-lucide-chef-hat",{"title":82,"path":83,"stem":84,"icon":85},"Questions and results","\u002Fen\u002Finteract\u002Fquestions-and-results","en\u002F3.interact\u002F3.questions-and-results","i-lucide-list-checks",{"title":87,"icon":88,"path":89,"stem":90,"children":91,"page":25},"Publish and share","i-lucide-package","\u002Fen\u002Fship","en\u002F4.ship",[92,97,102,107,112],{"title":93,"path":94,"stem":95,"icon":96},"Preview and publish","\u002Fen\u002Fship\u002Fpreview-and-export","en\u002F4.ship\u002F1.preview-and-export","i-lucide-play",{"title":98,"path":99,"stem":100,"icon":101},"SCORM and Moodle","\u002Fen\u002Fship\u002Fscorm-and-moodle","en\u002F4.ship\u002F2.scorm-and-moodle","i-lucide-graduation-cap",{"title":103,"path":104,"stem":105,"icon":106},"Imports","\u002Fen\u002Fship\u002Fimports","en\u002F4.ship\u002F3.imports","i-lucide-file-input",{"title":108,"path":109,"stem":110,"icon":111},"Versions and backup","\u002Fen\u002Fship\u002Fversions-and-backup","en\u002F4.ship\u002F4.versions-and-backup","i-lucide-history",{"title":113,"path":114,"stem":115,"icon":116},"Privacy and offline use","\u002Fen\u002Fship\u002Fprivacy-and-offline","en\u002F4.ship\u002F5.privacy-and-offline","i-lucide-shield-check",{"title":118,"icon":119,"path":120,"stem":121,"children":122,"page":25},"Working with AI","i-lucide-sparkles","\u002Fen\u002Fai","en\u002F5.ai",[123,126,131,136,141],{"title":118,"path":124,"stem":125,"icon":119},"\u002Fen\u002Fai\u002Fthree-ways","en\u002F5.ai\u002F1.three-ways",{"title":127,"path":128,"stem":129,"icon":130},"Connect your AI app","\u002Fen\u002Fai\u002Fconnect-your-app","en\u002F5.ai\u002F2.connect-your-app","i-lucide-plug",{"title":132,"path":133,"stem":134,"icon":135},"What the AI can do","\u002Fen\u002Fai\u002Fmcp-tools","en\u002F5.ai\u002F3.mcp-tools","i-lucide-wrench",{"title":137,"path":138,"stem":139,"icon":140},"Prompts that work","\u002Fen\u002Fai\u002Fprompts","en\u002F5.ai\u002F4.prompts","i-lucide-message-square-text",{"title":142,"path":143,"stem":144,"icon":145},"The course script","\u002Fen\u002Fai\u002Fcourse-script","en\u002F5.ai\u002F5.course-script","i-lucide-file-json",{"title":147,"icon":148,"path":149,"stem":150,"children":151,"page":25},"Reference","i-lucide-book-open","\u002Fen\u002Freference","en\u002F6.reference",[152,157],{"title":153,"path":154,"stem":155,"icon":156},"Keyboard shortcuts","\u002Fen\u002Freference\u002Fkeyboard-shortcuts","en\u002F6.reference\u002F1.keyboard-shortcuts","i-lucide-keyboard",{"title":158,"path":159,"stem":160,"icon":161},"Troubleshooting","\u002Fen\u002Freference\u002Ftroubleshooting","en\u002F6.reference\u002F2.troubleshooting","i-lucide-life-buoy",{"id":163,"title":42,"body":164,"description":586,"extension":587,"links":588,"meta":589,"navigation":590,"path":43,"seo":591,"stem":44,"__hash__":592},"docs_en\u002Fen\u002F2.build\u002F3.lines-and-polygons.md",{"type":165,"value":166,"toc":572},"minimark",[167,171,200,207,212,279,283,342,346,349,398,402,479,482,495,509,513],[168,169,170],"p",{},"Lines and polygons are objects you draw point by point. Use them for arrows that point at something, connectors in a diagram, an outline around part of a picture or any free shape. There are four tools:",[172,173,174,182,188,194],"ul",{},[175,176,177,181],"li",{},[178,179,180],"strong",{},"Line",": a straight line.",[175,183,184,187],{},[178,185,186],{},"Arrow",": a line with an arrowhead at the end.",[175,189,190,193],{},[178,191,192],{},"Polyline",": an open line with several points, for example a connector with corners.",[175,195,196,199],{},[178,197,198],{},"Polygon",": a closed, filled shape from your own points.",[168,201,202],{},[203,204],"img",{"alt":205,"src":206},"The Lines menu on the Insert tab with Line, Arrow, Polyline and Polygon","\u002Fscreenshots\u002Fen\u002Flines-and-polygons-tools.png",[208,209,211],"h2",{"id":210},"draw-one-in-3-steps","Draw one in 3 steps",[213,214,215,220,239,243,257,261],"procedure",{},[216,217,219],"h3",{"id":218},"pick-a-tool","Pick a tool",[168,221,222,223,227,228,230,231,230,233,235,236,238],{},"Open ",[224,225],"ui-path",{"icon":45,"path":226},"Insert > Lines"," and choose ",[178,229,180],{},", ",[178,232,186],{},[178,234,192],{}," or ",[178,237,198],{},".",[216,240,242],{"id":241},"draw-on-the-slide","Draw on the slide",[168,244,245,246,248,249,251,252,248,254,256],{},"For ",[178,247,180],{}," and ",[178,250,186],{},": press on the slide at the start point and drag to the end point. For ",[178,253,192],{},[178,255,198],{},": click once for every point.",[216,258,260],{"id":259},"finish","Finish",[168,262,263,264,268,269,271,272,235,275,278],{},"A line is done when you let go. A polyline or polygon is done with a double-click, ",[265,266],"key-combo",{"keys":267},"Enter"," or the ",[178,270,260],{}," button. ",[178,273,274],{},"Cancel",[265,276],{"keys":277},"Esc"," stops drawing.",[208,280,282],{"id":281},"keys-while-drawing","Keys while drawing",[284,285,286,299],"table",{},[287,288,289],"thead",{},[290,291,292,296],"tr",{},[293,294,295],"th",{},"Key",[293,297,298],{},"What it does",[300,301,302,313,323,333],"tbody",{},[290,303,304,310],{},[305,306,307],"td",{},[265,308],{"keys":309},"Shift",[305,311,312],{},"Keeps lines at 45-degree steps (straight, diagonal).",[290,314,315,320],{},[305,316,317,319],{},[265,318],{"keys":267}," or double-click",[305,321,322],{},"Finishes a polyline or polygon.",[290,324,325,330],{},[305,326,327],{},[265,328],{"keys":329},"Backspace",[305,331,332],{},"Removes the last point you set.",[290,334,335,339],{},[305,336,337],{},[265,338],{"keys":277},[305,340,341],{},"Cancels drawing.",[208,343,345],{"id":344},"change-the-points","Change the points",[168,347,348],{},"Select the line or polygon. Its points appear on the slide.",[284,350,351,361],{},[287,352,353],{},[290,354,355,358],{},[293,356,357],{},"What you want",[293,359,360],{},"How",[300,362,363,371,379,390],{},[290,364,365,368],{},[305,366,367],{},"Move a point",[305,369,370],{},"Drag it, or select it and use the arrow keys.",[290,372,373,376],{},[305,374,375],{},"Add a point",[305,377,378],{},"Click the small plus point between two points.",[290,380,381,384],{},[305,382,383],{},"Remove a point",[305,385,386,387,238],{},"Double-click it, or select it and press ",[265,388],{"keys":389},"Del",[290,391,392,395],{},[305,393,394],{},"Change direction or length of a line",[305,396,397],{},"Drag its start or end point.",[208,399,401],{"id":400},"format-tab","Format tab",[284,403,404,413],{},[287,405,406],{},[290,407,408,411],{},[293,409,410],{},"Setting",[293,412,298],{},[300,414,415,439,449,459,469],{},[290,416,417,425],{},[305,418,419,248,422],{},[178,420,421],{},"Start",[178,423,424],{},"End",[305,426,427,428,230,431,230,433,235,436,238],{},"The decoration at the first and last point: ",[178,429,430],{},"None",[178,432,186],{},[178,434,435],{},"Dot",[178,437,438],{},"Diamond",[290,440,441,446],{},[305,442,443],{},[178,444,445],{},"Swap ends",[305,447,448],{},"Turns the line around: the start becomes the end.",[290,450,451,456],{},[305,452,453],{},[178,454,455],{},"Closed",[305,457,458],{},"Connects the last point with the first and fills the area. Switch it off for an open polyline.",[290,460,461,466],{},[305,462,463],{},[178,464,465],{},"Rounded",[305,467,468],{},"Round line ends and corners.",[290,470,471,476],{},[305,472,473],{},[178,474,475],{},"Appearance",[305,477,478],{},"Color, width and dashes of the line, and the fill of a closed polygon.",[168,480,481],{},"Lines and polygons can also have states (for example red when the mouse is over them), animations, motion paths and triggers, like any other object.",[483,484,487,488,491,492,238],"hint-box",{"kind":485,"title":486},"tip","Accessibility","A connector that carries meaning in a diagram needs an ",[178,489,490],{},"Alt text",". A purely decorative line should be marked ",[178,493,494],{},"Decorative",[483,496,499,500,504,505,238],{"kind":497,"title":498},"ai","With AI","An AI app can draw lines with exact slide coordinates. The tool ",[501,502,503],"code",{},"connect_objects"," draws a connector from the edge of one object to the edge of another, optionally with a label. See ",[506,507,508],"a",{"href":133},"MCP tools",[208,510,512],{"id":511},"if-something-doesnt-work","If something doesn't work",[284,514,515,525],{},[287,516,517],{},[290,518,519,522],{},[293,520,521],{},"Problem",[293,523,524],{},"What to do",[300,526,527,537,547,557],{},[290,528,529,532],{},[305,530,531],{},"My polygon is not filled",[305,533,534,536],{},[178,535,455],{}," is off. Switch it on in the Format tab.",[290,538,539,542],{},[305,540,541],{},"The arrowhead points the wrong way",[305,543,544,545,238],{},"Click ",[178,546,445],{},[290,548,549,552],{},[305,550,551],{},"I keep adding points instead of finishing",[305,553,554,555,238],{},"Double-click the last point or press ",[265,556],{"keys":267},[290,558,559,562],{},[305,560,561],{},"The line jumps to odd angles",[305,563,564,565,567,568,571],{},"You are holding ",[265,566],{"keys":309},", or ",[178,569,570],{},"Snap to grid"," is on. Switch it off in the bar below the slide.",{"title":573,"searchDepth":574,"depth":574,"links":575},"",2,[576,582,583,584,585],{"id":210,"depth":574,"text":211,"children":577},[578,580,581],{"id":218,"depth":579,"text":219},3,{"id":241,"depth":579,"text":242},{"id":259,"depth":579,"text":260},{"id":281,"depth":574,"text":282},{"id":344,"depth":574,"text":345},{"id":400,"depth":574,"text":401},{"id":511,"depth":574,"text":512},"Draw lines, arrows, connectors and free outlines with your own points, line ends and fills.","md",null,{},{"icon":45},{"title":42,"description":586},"1tIAw3baHGBOsZWKjgAOqV9KM1AaNy_SUyy8M43y9_U",[594,596],{"title":38,"path":39,"stem":40,"description":595,"icon":28,"children":-1},"Text, shapes, icons, pictures, tables, charts, buttons and input fields - how to put them on a slide, style and arrange them.",{"title":47,"path":48,"stem":49,"description":597,"icon":50,"children":-1},"Pictures, video, audio, captions, fonts and files - the media library, which formats work, cropping and the captions editor.",1793209475811]