JavaScript video editor, encoder, and streamer - version 5.0.6

TimeRange

add

divide

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

    • number: number
    • Optional rounding: string

    Returns Time

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

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