shape

package
v0.0.0-...-a2f54b6 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2014 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Circle

type Circle struct {
	Radius int
}

func (Circle) Height

func (src Circle) Height() int

func (Circle) Width

func (src Circle) Width() int

type Plus

type Plus struct {
	Size int
}

func (Plus) Height

func (src Plus) Height() int

func (Plus) Width

func (src Plus) Width() int

type Rect

type Rect struct {
	W int
	H int
}

func (Rect) Height

func (src Rect) Height() int

func (Rect) Width

func (src Rect) Width() int

type Shape

type Shape interface {
	Width() int
	Height() int
}

Jump to

Keyboard shortcuts

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