Skip to content

Class: StoryboardScaleCommand ​

Defined in: src/beatmap/storyboard/commands.ts:31

ts
import { Easing, StoryboardScaleCommand } from 'osu-files'

const command = new StoryboardScaleCommand(Easing.None, 0, 500, 1)

return command.commandType

Extends ​

  • StoryboardCommand<number>

Constructors ​

new StoryboardScaleCommand(easing, startTime, endTime, endValue, startValue?): StoryboardScaleCommand

Defined in: src/beatmap/storyboard/commands.ts:11

Parameters ​

ParameterType
easingEasing
startTimenumber
endTimenumber | undefined
endValuenumber
startValue?number

Returns ​

StoryboardScaleCommand

Inherited from ​

StoryboardCommand<number>.constructor

ts
import { Easing, StoryboardScaleCommand } from 'osu-files'

const command = new StoryboardScaleCommand(Easing.None, 0, 500, 1)

return command.commandType

Properties ​

easing ​

easing: Easing

Defined in: src/beatmap/storyboard/commands.ts:5

Inherited from ​

StoryboardCommand.easing


endTime? ​

optional endTime?: number

Defined in: src/beatmap/storyboard/commands.ts:7

Inherited from ​

StoryboardCommand.endTime


endValue ​

endValue: number

Defined in: src/beatmap/storyboard/commands.ts:9

Inherited from ​

StoryboardCommand.endValue


startTime ​

startTime: number

Defined in: src/beatmap/storyboard/commands.ts:6

Inherited from ​

StoryboardCommand.startTime


startValue? ​

optional startValue?: number

Defined in: src/beatmap/storyboard/commands.ts:8

Inherited from ​

StoryboardCommand.startValue

Accessors ​

commandType ​

get commandType(): CommandType

Defined in: src/beatmap/storyboard/commands.ts:32

Returns ​

CommandType

Overrides ​

StoryboardCommand.commandType

ts
import { Easing, StoryboardScaleCommand } from 'osu-files'

const command = new StoryboardScaleCommand(Easing.None, 0, 500, 1)

return command.commandType

Released under the MIT License.