line

package
v0.0.0-...-cb98339 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const StyleFill = "fill"
View Source
const StyleLine = "line"

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLine

type EventLine struct {
	Layer      types.Depth
	ShapeIndex int
	ObjectId   uint16

	Start, End int64

	LastTransition int64

	Style string
	Name  string

	Margin struct {
		Left     int64
		Right    int64
		Vertical int64
	}
	Effect string

	IsComment bool

	Tags []tag.Tag
	// contains filtered or unexported fields
}

func EventLineFromString

func EventLineFromString(line string) (out *EventLine, start, end asstime.Time)

func EventLinesFromRenderObject

func EventLinesFromRenderObject(frameInfo types.FrameInformation, object *types.RenderedObject, bakeMatrixTransforms bool) (out []*EventLine)

func (*EventLine) DropCache

func (l *EventLine) DropCache()

func (*EventLine) Encode

func (l *EventLine) Encode(frameDuration time.Duration) string

func (*EventLine) Equalish

func (l *EventLine) Equalish(o *EventLine) bool

func (*EventLine) GetDuration

func (l *EventLine) GetDuration() int64

func (*EventLine) GetEnd

func (l *EventLine) GetEnd() int64

func (*EventLine) GetSinceLastTransition

func (l *EventLine) GetSinceLastTransition() int64

func (*EventLine) GetStart

func (l *EventLine) GetStart() int64

func (*EventLine) Transition

func (l *EventLine) Transition(frameInfo types.FrameInformation, object *types.RenderedObject) *EventLine

func (*EventLine) TransitionVisible

func (l *EventLine) TransitionVisible(frameInfo types.FrameInformation, visible bool) *EventLine

Jump to

Keyboard shortcuts

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