Feedback
- press ENTER to search or ESC to cancel
Table of content
Globals namespaces
Constants
- AniDir
- BlendMode
- BrushPattern
- BrushType
- ColorMode
- FilterChannels
- Ink
- MouseButton
- RangeType
- SpriteSheetDataFormat
- SpriteSheetType
- WebSocketMessageType
Classes/objects
- Brush
- Cel
- Color
- ColorSpace
- Dialog
- Events
- Frame
- Image
- ImageSpec
- Layer
- Palette
- Point
- Range
- Rectangle
- Selection
- Site
- Size
- Slice
- Sprite
- Tag
- Tileset
- Tool
- Version
- WebSocket
app.theme
Access information about the current theme.
app.theme.color
local color = app.theme.color.color_name
The color can be used to paint in an Image or a GraphicsContext.
List of possible colors: https://github.com/aseprite/aseprite/blob/3c77928a6f193748bcd8cca15d45000dd58e11d5/data/extensions/aseprite-theme/theme.xml#L33
app.theme.dimension
local value = app.theme.dimension.dimension_name
Returns a number identified in the dimensions of the theme. List of possible dimensions: https://github.com/aseprite/aseprite/blob/3c77928a6f193748bcd8cca15d45000dd58e11d5/data/extensions/aseprite-theme/theme.xml#L11