TimelineOptions
class TimelineOptions(val stripHeight: Dp = FilmstripTimelineDefaults.StripHeight, val tileWidth: Dp = FilmstripTimelineDefaults.TileWidth, val rulerHeight: Dp = FilmstripTimelineDefaults.RulerHeight, val showRuler: Boolean = true, val showPlayhead: Boolean = true, val followPlayhead: Boolean = true, val trimConstraint: TrimConstraint = FilmstripTimelineDefaults.Trim, val maxBytes: Long = FilmstripFramesDefaults.MaxBytes, val overscan: Int = FilmstripFramesDefaults.Overscan, val pinchZoom: Boolean = true, val wheelZoom: Boolean = true)(source)
Everything optional about a FilmstripTimeline.
Every field has a default, so a caller names only what it is changing.
Constructors
Link copied to clipboard
constructor(stripHeight: Dp = FilmstripTimelineDefaults.StripHeight, tileWidth: Dp = FilmstripTimelineDefaults.TileWidth, rulerHeight: Dp = FilmstripTimelineDefaults.RulerHeight, showRuler: Boolean = true, showPlayhead: Boolean = true, followPlayhead: Boolean = true, trimConstraint: TrimConstraint = FilmstripTimelineDefaults.Trim, maxBytes: Long = FilmstripFramesDefaults.MaxBytes, overscan: Int = FilmstripFramesDefaults.Overscan, pinchZoom: Boolean = true, wheelZoom: Boolean = true)
Properties
Link copied to clipboard
Whether the strip scrolls itself to keep the playhead on screen.
Link copied to clipboard
How tall the ruler is drawn.
Link copied to clipboard
Whether the playhead is drawn.
Link copied to clipboard
How tall the strip of tiles is drawn.
Link copied to clipboard
What a trim gesture is allowed to produce.