renderers

package
v0.0.0-...-a625e7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package renderers defines different kind of formats that the canvas can be exported into. That can be Image, or maybe some textual assembling instruction

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PNG

type PNG struct{}

PNG describes renderer that can output PNG data

func (*PNG) Render

func (i *PNG) Render(canvas *models.Canvas) ([]byte, error)

Render renders canvas into a Image file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL