vector

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Area

type Area struct {
	// contains filtered or unexported fields
}

Area is

type Edge

type Edge struct {
	// contains filtered or unexported fields
}

Edge is

type Point

type Point struct {
	// contains filtered or unexported fields
}

Point is

type Rectangle

type Rectangle struct {
	Height            int
	Width             int
	Tab               int
	Center            Point
	BottomWidgetIndex int
	TopWidgetIndex    int
	LeftWidgetIndex   int
	RightWidgetIndex  int
	// contains filtered or unexported fields
}

Rectangle is

func NewRectangle

func NewRectangle(opt *RectangleOptions) (r *Rectangle)

NewRectangle is

type RectangleCollection

type RectangleCollection struct {
	// contains filtered or unexported fields
}

RectangleCollection is

func NewRectangleCollection

func NewRectangleCollection() (r *RectangleCollection, err error)

NewRectangleCollection constructs a ConfigManager

func (*RectangleCollection) CalcDistances

func (r *RectangleCollection) CalcDistances()

CalcDistances is

func (*RectangleCollection) GetRectangle

func (r *RectangleCollection) GetRectangle(idx int) *Rectangle

GetRectangle is

func (*RectangleCollection) Register

func (r *RectangleCollection) Register(opt *RectangleOptions)

Register is

type RectangleOptions

type RectangleOptions struct {
	Index      int
	RowIndex   int
	ColIndex   int
	LastCol    bool
	FirstStack bool
	LastStack  bool
	WindowW    int
	WindowH    int
	TabIndex   int
	CenterX    int
	CenterY    int
	Height     int
	Width      int
}

RectangleOptions is

Jump to

Keyboard shortcuts

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