Documentation ¶
Index ¶
- func LinesToString(lines []Line) string
- type Action
- type BeginAct
- type Cell
- type CenteredText
- type Dialogue
- type DualDialogue
- type Element
- type ElementType
- type EndAct
- type Line
- type Lyrics
- type Note
- type PageBreak
- type Parenthetical
- type Scene
- type Script
- type Section
- type Speech
- type Synopse
- type Transition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LinesToString ¶ added in v0.1.5
LinesToString gets a string representation of a list of strings
Types ¶
type Cell ¶ added in v0.1.5
Cell contains richtext
type DualDialogue ¶
DualDialogue type.
type ElementType ¶
type ElementType byte
ElementType is another representation of an elements type
const ( TScene ElementType = iota TBeginAct TEndAct TAction TDialogue TDualDialogue TLyrics TTransition TCenteredText TPageBreak TSection TSynopse TNote TNone )
Defines the different ElementTypes
func GetElementType ¶
func GetElementType(elem Element) ElementType
GetElementType returns the type of element as a lowercase string and "TNone" if unknown.
type Line ¶ added in v0.1.5
type Line []Cell
Line a line of richtext cells
func (Line) StringBuffer ¶ added in v0.1.5
StringBuffer returns a buffer containing the contents of the line
Click to show internal directories.
Click to hide internal directories.