builder

@NotNull
open fun builder(size: Int, rotateGlobal: Boolean): @NotNull AnimationKeyframe.Builder

Creates a new builder for constructing an AnimationKeyframe.

Return

a new builder instance

Since

2.0.0

Parameters

size

the number of keyframes

rotateGlobal

whether rotation should be applied globally