Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPhrase

Hierarchy

Index

Properties

Readonly charCount

charCount: number

Readonly children

children: IWord[]
inheritdoc

Readonly duration

duration: number

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

endTime

endTime: number

Readonly firstChar

firstChar: IChar

Readonly firstWord

firstWord: IWord

Readonly lastChar

lastChar: IChar

Readonly lastWord

lastWord: IWord

Readonly next

next: IPhrase
inheritdoc

Readonly parent

Readonly previous

previous: IPhrase
inheritdoc

startTime

startTime: number

Readonly text

text: string

文字ユニットに含まれるプレーンテキスト / Plain text contained in this text unit

Readonly wordCount

wordCount: number

Methods

contains

  • contains(time: number): boolean
  • Parameters

    • time: number

    Returns boolean

findIndex

  • Parameters

    Returns number

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

Generated using TypeDoc