line

package
v0.0.0-...-e3259a1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Line

type Line struct {
	Len    alias.ALen    // Длина линии
	Direct alias.ADirect // Направление линии
	// contains filtered or unexported fields
}

Line -- линия на экране

func NewLine

func NewLine(scr types.IScreen, pos types.IPos, _len alias.ALen, lit types.ILit) (*Line, error)

NewLine -- возвращает новую линию

func (*Line) BackAttr

func (sf *Line) BackAttr() termbox.Attribute

BackAttr -- возвращает атрибут фона линии

func (*Line) ForeAttr

func (sf *Line) ForeAttr() types.IAttr

ForeAttr -- возвращает атрибуты литер заливки

func (*Line) LitBeg

func (sf *Line) LitBeg() types.ILit

LitBegin -- возвращает литеру начала

func (*Line) LitBeginSet

func (sf *Line) LitBeginSet(lit types.ILit) error

LitBeginSet -- устанавливает литеру начала

func (*Line) LitEnd

func (sf *Line) LitEnd() types.ILit

LitEnd -- возвращает литеру конца

func (*Line) LitEndSet

func (sf *Line) LitEndSet(lit types.ILit) error

LitEndSet -- устанавливает литеру конца

func (*Line) LitFill

func (sf *Line) LitFill() types.ILit

LitFill -- возвращает литеру заполнения

func (*Line) Redraw

func (sf *Line) Redraw()

Redraw -- перерисовывает линию

Jump to

Keyboard shortcuts

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