KiteFrame

class KiteFrame(val bitmap: KiteBitmap, val delayMillis: Int, val delayRawCentiseconds: Int)

One presented frame of an animation: the fully composited canvas (disposal methods, transparency overlay and frame offsets already applied), plus its display duration.

delayMillis is the normalised playback delay: raw GIF centiseconds ×10, with the browser quirk applied: a stored delay of 0 or 1 centisecond means "as fast as possible", which every major renderer clamps to 100 ms, so KiteImage does too. delayRawCentiseconds keeps the wire value for anyone who disagrees.

Constructors

Link copied to clipboard
constructor(bitmap: KiteBitmap, delayMillis: Int, delayRawCentiseconds: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard