class SvgColorizer

Defined in:

recolor/svg_colorizer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : String) #

[View source]
def self.new(data : IO) #

[View source]

Instance Method Detail

def colorize(color : String) #

Output the document colorized with the given hex color


[View source]
def colorize_as_data(color : String) #

Colorize and return a data URI


[View source]