CurveTimeline2

TimelineCurveTimelinespine.CurveTimeline2 (Class) → ScaleTimeline, ShearTimeline, TranslateTimeline

The base class for a {@link CurveTimeline} which sets two properties.

Static Members

spine
ENTRIES: Int

spine
VALUE1: Int

spine
VALUE2: Int

spine
LINEAR: Int

spine
STEPPED: Int

spine
BEZIER: Int

spine
BEZIER_SIZE: Int

Instance Members

spine
getFrameEntries(): Int
Returns
Int

spine
setFrame(frame: Int, time: Float, value1: Float, value2: Float): Void

Sets the time and values for the specified frame.

Name Type Description
frame Int Between 0 and frameCount, inclusive.
time Float The frame time in seconds.
value1 Float
value2 Float

spine
new(frameCount: Int, bezierCount: Int, propertyId1: String, propertyId2: String): Void
Name Type Description
frameCount Int
bezierCount Int The maximum number of Bezier curves. See {
propertyId1 String Unique identifier for the first property the timeline modifies.
propertyId2 String Unique identifier for the second property the timeline modifies.