Skip to content

KgpAnimationFrame

Namespace: Hex1b

Assembly: Hex1b.dll

Describes one full RGBA32 frame in a Kitty Graphics Protocol animation.

csharp
public sealed class KgpAnimationFrame

Inheritance

ObjectKgpAnimationFrame

Constructors

KgpAnimationFrame(byte[], int)

Creates an animation frame.

Parameters:

  • data (Byte[]): The full-frame RGBA32 pixel data.
  • gapMilliseconds (Int32): The duration of the frame in milliseconds.
csharp
public KgpAnimationFrame(byte[] data, int gapMilliseconds)

Properties

Data

Gets the full-frame RGBA32 pixel data.

Returns: Byte[]

csharp
public byte[] Data { get; }

GapMilliseconds

Gets the duration of the frame in milliseconds.

Returns: Int32

csharp
public int GapMilliseconds { get; }

Released under the MIT License.