module Colorize::ObjectExtensions

Direct including types

Defined in:

colorize.cr

Instance Method Summary

Instance Method Detail

def colorize(r : UInt8, g : UInt8, b : UInt8) #

Wraps self in a Colorize::Object and colors it with the given Color256 made up from the given red, green and blue values.


[View source]
def colorize(fore : UInt8) #

Wraps self in a Colorize::Object and colors it with the given Color256 made up from the single fore byte.


[View source]
def colorize(fore : Symbol) #

Wraps self in a Colorize::Object and colors it with the given fore color.


[View source]
def colorize(fore : Color) #

Wraps self in a Colorize::Object and colors it with the given fore Color.


[View source]
def colorize : Colorize::Object #

Turns self into a Colorize::Object.


[View source]