Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Frame ¶ added in v0.10.0
type Frame struct {
Diagram *d2target.Diagram
DurationMS int
// TweenSample distinguishes an already sampled transition from a board
// whose independent shape and connection animations still need sampling.
TweenSample bool
// ElapsedMS is the local time of a sampled frame within its step.
ElapsedMS int
}
Frame is a diagram held for a duration on the playback timeline.
func AppendBoardFrames ¶ added in v0.10.0
AppendBoardFrames expands one validated, drawable board. Raster exporters impose their own traversal limits before expanding its samples.
Click to show internal directories.
Click to hide internal directories.