struct Boleite::Text::FormatRule

Defined in:

boleite/graphics/text/format_rule.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rule : Range(Int32, Int32) | Regex | String, color : Boleite::VectorImp(Float32, 4)) #

[View source]

Instance Method Detail

def apply_keyword_rule(text, colors) #

[View source]
def apply_range_rule(text, colors) #

[View source]
def apply_regex_rule(regex, text, colors) #

[View source]
def apply_rule(text, colors) #

[View source]