class SVG

Defined in:

containers.cr
plot2d.cr
shapes.cr
svg-lib.cr
text.cr
transform.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(io : IO, width : Float64, height : Float64) #

[View source]
def self.new(x, y, width, height, io = STDOUT, **args, &) #

[View source]

Class Method Detail

def self.transform(&) #

[View source]

Instance Method Detail

def circle(*, cx, cy, r, title = "", **args) #

[View source]
def defs(&) #

[View source]
def g(**args, &) #

[View source]
def height : Float64 #

[View source]
def height=(height : Float64) #

[View source]
def line(*, x1, y1, x2, y2, title = "", **args) #

[View source]
def marker(*, id, viewBox, refX, refY, title = "", **args, &) #

[View source]
def path(*, title = "", **args, &) #

[View source]
def plot #

[View source]
def polygon(*, points, title = "", **args) #

[View source]
def print(*args) #

[View source]
def print_args(**args) #

[View source]
def print_title(title) #

[View source]
def puts(*args) #

[View source]
def rect(*, x, y, width, height, title = "", **args) #

[View source]
def text(*, x, y, text, title = "", **args) #

[View source]
def width : Float64 #

[View source]
def width=(width : Float64) #

[View source]