class Chitra::State

Included Modules

Defined in:

helpers.cr

Constructors

Instance Method Summary

Instance methods inherited from module Chitra::TextProperties

align align, align=(align) align=, font font, font=(font) font=, hyphen_char hyphen_char, hyphen_char=(hyphen_char) hyphen_char=, hyphenation hyphenation, hyphenation=(hyphenation) hyphenation=, line_height line_height, line_height=(line_height) line_height=, reset_text_properties reset_text_properties

Instance methods inherited from module Chitra::ShapeProperties

fill fill, fill=(fill) fill=, line_cap line_cap, line_cap=(line_cap) line_cap=, line_dash line_dash, line_dash=(line_dash) line_dash=, line_join line_join, line_join=(line_join) line_join=, no_fill no_fill, no_fill=(no_fill) no_fill=, reset_shape_properties reset_shape_properties, stroke stroke, stroke=(stroke) stroke=, stroke_width stroke_width, stroke_width=(stroke_width) stroke_width=

Constructor Detail

def self.new(w, h) #

[View source]

Instance Method Detail

def add_transformation(ele : Element) #

[View source]
def debug : Bool #

[View source]
def debug=(debug : Bool) #

[View source]
def enabled : Bool #

[View source]
def enabled=(enabled : Bool) #

[View source]
def reset_transformations #

[View source]
def size : Chitra::Size #

[View source]
def size=(size : Chitra::Size) #

[View source]
def transformations : Array(Chitra::Element) #

[View source]
def transformations=(transformations : Array(Chitra::Element)) #

[View source]