graphic

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
graphic
Summary

Designates the Graphic tool, which is used to create new graphics.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
choose graphic tool
RelatedKeyword: templateGraphic, graphic
Property: style
Command: palette, choose
Function: tool
Glossary: keyword
Object: graphic
Description

Use the graphic keyword to create graphics.

When using the Graphic tool, the cursor is a crosshairs. This tool is used for creating graphics by clicking at one corner of the graphic and dragging to the opposite corner.

You can set the style of the templateGraphic to the graphic type you want, then draw the graphic with the Graphic tool. The graphic icons on the Tools palette work this way: each one sets the style of the templateGraphic, then chooses the Graphic tool so you can create the graphic.