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
- Image
- ImageSpec
- KeyEvent
- Layer
- MouseEvent
- Palette
- Plugin
- Point
- Properties
- Range
- Rectangle
- Selection
- Site
- Size
- Slice
- Sprite
- Tag
- Tile
- Tileset
- Timer
- Tool
- TouchEvent
- Version
- WebSocket
- Window
ConvolutionMatrix
app.command.ConvolutionMatrix {
ui=true,
channels=FilterChannels...,
tiledMode=none,
fromResource=string
}
ui
: Shows the dialog on the screen,true
by default. Set tofalse
to apply the convolution matrix filter automatically without asking to the user for the change.channels
: A combination of FilterChannels with bitwise OR (|
) operator. By default it is equal to: FilterChannels.RED | FilterChannels.GREEN | FilterChannels.BLUE | FilterChannels.GRAY.tiledMode
:'none'
,'x'
,'y'
,'both'
. By default it's'none'
if there is no UI, or it's equal toapp.preferences.document(app.sprite).tiled.mode
whenui
istrue
.fromResource
: Name of pre-defined convolution matrix.
Note: In future versions this function should support creating customized convolution matrices.