class
Sheen::CompleteColor
- Sheen::CompleteColor
- Sheen::TerminalColor
- Reference
- Object
Overview
Explicitly defined values per profile, with no automatic degradation between them. Each profile uses its own value as defined, and controls exactly how the color appears at every level of terminal support.
Defined in:
sheen/color.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#ansi : String
The value used for the basic 16color ANSI profile.
-
#ansi256 : String
The value used for the ANSI256 profile.
-
#hash(hasher)
See
Object#hash(hasher) -
#resolve(renderer : Renderer) : Foundation::SGRColor | Nil
Resolves to the SGR color for renderer's profile, or nil for no color
-
#true_color : String
The value used for truecolor 24-bit profiles.
Instance methods inherited from class Sheen::TerminalColor
resolve(renderer : Renderer) : Foundation::SGRColor | Nil
resolve
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
Description copied from class Sheen::TerminalColor
Resolves to the SGR color for renderer's profile, or nil for no color