module Celestine

Overview

Main module for Celestine

Defined in:

celestine.cr
color/color.cr
docs.cr
docs/a_getting_started/overview.cr
docs/a_getting_started/usage_guide.cr
docs/b_spec_reference/filters_and_effects.cr
docs/b_spec_reference/svg_elements.cr
docs/c_dsl_and_creative/colors_palettes_and_dataviz.cr
docs/c_dsl_and_creative/fluent_paths_and_shapes.cr
docs/c_dsl_and_creative/rough_sketchy_graphics.cr

Constant Summary

VERSION = {{ (`shards version /home/runner/work/celestine/celestine/src`).chomp.stringify }}

Class Method Summary

Class Method Detail

def self.draw(io : IO, &block : Proc(Celestine::Svg, Nil)) : IO #

[View source]
def self.draw(&block : Proc(Celestine::Svg, Nil)) : String #

Main draw function for DSL


[View source]
def self.to_data_uri(format : ::Symbol = :utf8, &block : Proc(Celestine::Svg, Nil)) : String #

Main draw function returning an RFC 2397 Data URI


[View source]