Options
Menu

Interface IGraphic

Hierarchy

Index

Properties

animate

children

children: IRenderingUnit[]

duration

duration: number

描画ユニットの長さ [ms] / Duration of this rendering unit [ms]

endTime

endTime: number

next

next: IGraphic

parent

previous

previous: IGraphic

startTime

startTime: number

Methods

contains

  • contains(time: number): boolean
  • Parameters

    • time: number

    Returns boolean

getType

  • getType(): number
  • この描画ユニットの種類 / Type of this rendering unit

    see

    UnitTypes

    Returns number

overlaps

  • overlaps(startTime: number, endTime: number): boolean
  • Parameters

    • startTime: number
    • endTime: number

    Returns boolean

progress

  • progress(time: number): number
  • 指定された楽曲中の位置をこの描画ユニット中の位置 [0, 1] にマッピングして返す

    Returns the position in this rendering unit [0, 1]

    Parameters

    • time: number

      楽曲中の位置 / Position in a song

    Returns number

toString

  • toString(): string
  • この描画ユニットの文字表現 / String representation of this rendering unit

    Returns string