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
MaskByColor
app.command.MaskByColor {
ui=bool,
color=Color,
tolerance=int,
mode=SelectionMode
}
Creates a new selection by color
ui
: Shows the dialog on the screen,true
by default. Set tofalse
to select automatically.color
: The color to mask by. Defaults to the current foreground color.tolerance
: The maximum allowed difference betweencolor
and the pixel to be selected, from0
to255
. Defaults to0
mode
: SelectionMode