JavaScript video editor, encoder, switcher - version 5.1.1

TimeRange

add

closest

copy

copy: TimeRange

divide

  • divide(number: number, rounding?: string): Time
  • Parameters

    • number: number
    • Optional rounding: string

    Returns Time

durationFrames

  • durationFrames(duration: number, fps?: number): number[]
  • Parameters

    • duration: number
    • Optional fps: number

    Returns number[]

end

end: number

endTime

endTime: Time

equalsTime

  • equalsTime(time: Time): boolean
  • Parameter

    time: Time

    Returns boolean

fps

fps: number

frame

frame: number

frames

frames: number

includes

  • includes(frame: number): boolean
  • Parameter

    frame: number

    Returns boolean

intersects

  • intersects(time: Time): boolean
  • Parameter

    time: Time

    Returns boolean

isRange

isRange: boolean

last

last: number

lastTime

lastTime: Time

lengthSeconds

lengthSeconds: number

min

position

position: number

positionTime

  • positionTime(position: number, rounding?: string): Time
  • Parameters

    • position: number
    • Optional rounding: string

    Returns Time

scale

  • scale(fps: number, rounding?: string): TimeRange
  • Parameters

    • fps: number
    • Optional rounding: string

    Returns TimeRange

scaleToFps

  • scaleToFps(fps: number): Time
  • Parameter

    fps: number

    Returns Time

seconds

seconds: number

startTime

startTime: Time

timeRange

timeRange: TimeRange

times

times: Times

withFrame