columns

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 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 ColumnsView

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

ColumnsView combines elems into Viewer

func New

func New(marginX fn.Int, elems ...view.Viewer) *ColumnsView

New creates a ColumnView

func (*ColumnsView) Draw

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

Draw draws a view element

func (*ColumnsView) Size

func (v *ColumnsView) 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