draw2dkit

package
v0.0.0-...-d16e308 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2015 License: BSD-2-Clause Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

draw2d/draw2dkit

Coverage GoDoc

Util package that help drawing common vectorial draw.

Documentation

Overview

Package draw2dkit provides helpers to draw common figures using a Path

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Circle

func Circle(path draw2d.PathBuilder, cx, cy, radius float64)

Circle draws a circle using a path with center (cx,cy) and radius

func Ellipse

func Ellipse(path draw2d.PathBuilder, cx, cy, rx, ry float64)

Ellipse draws an ellipse using a path with center (cx,cy) and radius (rx,ry)

func Rectangle

func Rectangle(path draw2d.PathBuilder, x1, y1, x2, y2 float64)

Rectangle draws a rectangle using a path between (x1,y1) and (x2,y2)

func RoundedRectangle

func RoundedRectangle(path draw2d.PathBuilder, x1, y1, x2, y2, arcWidth, arcHeight float64)

RoundedRectangle draws a rectangle using a path between (x1,y1) and (x2,y2)

Types

This section is empty.

Jump to

Keyboard shortcuts

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