row

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 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 RowView

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

RowView combines columns into Viewer

func New

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

New creates a RowView

func (*RowView) Draw

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

Draw draws a view element

func (*RowView) MarginX

func (v *RowView) MarginX(marginX fn.Int) *RowView

MarginX sets a margin space function

func (*RowView) Size

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