AnimationFrameInfo

class AnimationFrameInfo(var requiredFrame: Int, var duration: Int, var isFullyReceived: Boolean, var alphaType: ColorAlphaType, var isHasAlphaWithinBounds: Boolean, var disposalMethod: AnimationDisposalMode, var blendMode: BlendMode, frameRect: IRect)

Information about individual frames in a multi-framed image.

Constructors

Link copied to clipboard
constructor(requiredFrame: Int, duration: Int, isFullyReceived: Boolean, alphaType: ColorAlphaType, isHasAlphaWithinBounds: Boolean, disposalMethod: AnimationDisposalMode, blendMode: BlendMode, frameRect: IRect)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

This is conservative; it will still return non-opaque if e.g. a color index-based frame has a color with alpha but does not use it.

Link copied to clipboard

How this frame should blend with the prior frame.

Link copied to clipboard

How this frame should be modified before decoding the next one.

Link copied to clipboard

Number of milliseconds to show this frame.

Link copied to clipboard

Whether the end marker for this frame is contained in the stream.

Link copied to clipboard

Whether the updated rectangle contains alpha.

Link copied to clipboard

The frame that this frame needs to be blended with, or -1 if this frame is independent (so it can be drawn over an uninitialized buffer).

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

This is conservative; it will still return non-opaque if e.g. a color index-based frame has a color with alpha but does not use it.

Link copied to clipboard

How this frame should blend with the prior frame.

Link copied to clipboard

How this frame should be modified before decoding the next one.

Link copied to clipboard

Number of milliseconds to show this frame.

Link copied to clipboard

The rectangle updated by this frame.

Link copied to clipboard

Whether the end marker for this frame is contained in the stream.

Link copied to clipboard

Whether the updated rectangle contains alpha.

Link copied to clipboard

The frame that this frame needs to be blended with, or -1 if this frame is independent (so it can be drawn over an uninitialized buffer).