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
BrightnessContrast
app.command.BrightnessContrast {
ui=true,
channels=FilterChannels...,
brightness=0,
contrast=0
}
ui
: Shows the dialog on the screen,true
by default. Set tofalse
for automatic change brightness and/or contrast 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.brightness
: Brightness factor (0
by default), a value between-100
and100
.contrast
: Contrast factor (0
by default), a value between-100
and100
.