Feedback
      
      
    
    - press ENTER to search or ESC to cancel
 
Table of content
Globals namespaces
Constants
- Align
 - AniDir
 - BlendMode
 - BrushPattern
 - BrushType
 - ColorMode
 - FilterChannels
 - FlipType
 - Ink
 - MouseButton
 - MouseCursor
 - RangeType
 - SelectionMode
 - SpriteSheetDataFormat
 - SpriteSheetType
 - TilemapMode
 - TilesetMode
 - WebSocketMessageType
 
Classes/objects
- Brush
 - Cel
 - Color
 - ColorSpace
 - Dialog
 - Editor
 - Events
 - Frame
 - GraphicsContext
 - Grid
 - Image
 - ImageSpec
 - KeyEvent
 - Layer
 - MouseEvent
 - Palette
 - Plugin
 - Point
 - Properties
 - Range
 - Rectangle
 - Selection
 - Site
 - Size
 - Slice
 - Sprite
 - Tag
 - Tile
 - Tileset
 - Timer
 - Tool
 - TouchEvent
 - Version
 - Uuid
 - WebSocket
 - Window
 
Tool
References a drawing tool. At the moment this class is used only to
get and set the active tool
(app.tool), or to paint on the canvas
(tool parameter in app.useTool()).
If a function receives a tool, it can receive a tool ID too.
Tool.id
local id = app.tool.id
Returns the identifier (a string) of the specified in the
gui.xml
file (example).