TimeWindow

indigo.shared.animation.timeline.TimeWindow
final case class TimeWindow[A](start: Seconds, end: Seconds, modifier: A => SignalFunction[Seconds, A])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def contractBy(amount: Seconds): TimeWindow[A]
def expandBy(amount: Seconds): TimeWindow[A]
def multiply(amount: Double): TimeWindow[A]
def shiftBy(time: Seconds): TimeWindow[A]
def trim: TimeWindow[A]
def withEnd(newEnd: Seconds): TimeWindow[A]
def withModifier(newModifier: A => SignalFunction[Seconds, A]): TimeWindow[A]
def withStart(newStart: Seconds): TimeWindow[A]
def within(t: Seconds): Boolean

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val length: Seconds
lazy val totalTime: Seconds