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
SavePalette
app.command.SavePalette {
ui=bool,
filename=string,
preset=string,
saveAsPreset=bool,
columns=int
}
Saves the current palette to a file or the given preset.
ui
: Shows the file picker dialog,true
by default.filename
: A path to where to save the palette. Optional and ignored ifsaveAsPreset
istrue
.preset
: The preset to save to. Optional.saveAsPreset
: Whether to save to the preset or the file, defaults tocolumns
: Defaults to16
.