Feedback
- press ENTER to search or ESC to cancel
Table of content
Globals namespaces
Constants
- Align
- AniDir
- BlendMode
- BrushPattern
- BrushType
- ColorMode
- FilterChannels
- Ink
- MouseButton
- MouseCursor
- RangeType
- SelectionMode
- SpriteSheetDataFormat
- SpriteSheetType
- 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
NewFile
app.command.NewFile {
ui=bool,
width=int,
height=int,
colorMode=ColorMode,
fromClipboard=bool
}
ui
: Shows the new file dialog, defaults totrue
.width
: The width of the new sprite, ignored when usingfromClipboard
.height
: The height of the new sprite, ignored when usingfromClipboard
.colorMode
(ColorMode)fromClipboard
: Use the current clipboard to create the file.