column

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnView

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

ColumnView combines elems into Viewer

func New

func New(elems ...view.Viewer) *ColumnView

New creates a ColumnView

func (*ColumnView) Draw

func (v *ColumnView) Draw(w *impress.Window, rect image.Rectangle)

Draw draws a view element

func (*ColumnView) MarginY added in v0.1.5

func (v *ColumnView) MarginY(marginY fn.Int) *ColumnView

MarginY sets a margin space function

func (*ColumnView) Size

func (v *ColumnView) Size(size image.Point) image.Point

Size returns size of a view element

Jump to

Keyboard shortcuts

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