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
ColorSpace
Represents the color space/profile of a sprite, image, or image spec.
ColorSpace()
local none = ColorSpace()
local srgb = ColorSpace{ sRGB=true }
local icc = ColorSpace{ fromFile="/path/file.icc" }
Creates an empty color space, sRGB color space, or loads a color
profile from the given ICC file specified in fromFile
parameter.
ColorSpace.name
local cs = ColorSpace()
local colorSpaceName = cs.name
Get/sets the color space name.