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
ColorCurve
app.command.ColorCurve {
ui=true,
channels=FilterChannels...,
curve={ Point, Point, Point... }
}
ui
: Shows the dialog on the screen,true
by default. Set tofalse
to apply the color curve 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.curve
: Array of points where X is the input value and Y the output value.
Example
app.command.ColorCurve {
ui=true,
channels=FilterChannels.RED,
curve={ { 0, 0 }, { 255, 128 } }
}