chart

package
v1.9.23 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SHOW_BLOCK = "show-block"

	SHIP = "ship"
	LINE = "line"
	RECT = "rect"
	TEXT = "text"
)
View Source
const (
	HIDE_BLOCK = "hide-block"
	COMPACT    = "compact"
)
View Source
const (
	HEAD  = "head"
	TITLE = "title"
	NEXT  = "next"
	PREV  = "prev"
	ECHO  = "echo"
	ARROW = "arrow"
)
View Source
const CHAIN = "chain"
View Source
const LABEL = "label"
View Source
const (
	ORDER = "order"
)
View Source
const SEQUENCE = "sequence"

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Text string

	TextData string
	RectData string

	FontSize int
	Padding  int
	MarginX  int
	MarginY  int

	Height int
	Width  int

	FontColor  string
	BackGround string
	// contains filtered or unexported fields
}

func (*Block) Data

func (b *Block) Data(m *ice.Message, meta ice.Any) wiki.Chart

func (*Block) Draw

func (b *Block) Draw(m *ice.Message, x, y int) wiki.Chart

func (*Block) Fork added in v1.4.4

func (b *Block) Fork(m *ice.Message, arg ...string) *Block

func (*Block) GetHeight

func (b *Block) GetHeight(str ...string) int

func (*Block) GetHeights

func (b *Block) GetHeights(str ...string) int

func (*Block) GetWidth

func (b *Block) GetWidth(str ...string) int

func (*Block) GetWidths

func (b *Block) GetWidths(str ...string) int

func (*Block) Init

func (b *Block) Init(m *ice.Message, arg ...string) wiki.Chart

type Chain

type Chain struct {
	Block
	// contains filtered or unexported fields
}

func (*Chain) Draw

func (c *Chain) Draw(m *ice.Message, x, y int) wiki.Chart

func (*Chain) Init

func (c *Chain) Init(m *ice.Message, arg ...string) wiki.Chart

type Label

type Label struct {
	Block
	// contains filtered or unexported fields
}

func (*Label) Draw

func (s *Label) Draw(m *ice.Message, x, y int) wiki.Chart

func (*Label) Init

func (s *Label) Init(m *ice.Message, arg ...string) wiki.Chart

type Sequence

type Sequence struct {
	Block
	// contains filtered or unexported fields
}

func (*Sequence) Draw

func (s *Sequence) Draw(m *ice.Message, x, y int) wiki.Chart

func (*Sequence) Init

func (s *Sequence) Init(m *ice.Message, arg ...string) wiki.Chart

Jump to

Keyboard shortcuts

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