Skip to content
ChartForgeX
Struct

RasterAnimationFrame

ChartForgeX.Raster

Namespace
ChartForgeX.Raster
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

Describes one complete RGBA animation canvas and its display duration.

Inheritance

  • ValueType
  • RasterAnimationFrame

Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Accepted by parameters 3

Constructors

public RasterAnimationFrame(RgbaImage image, TimeSpan duration) #

Initializes a frame using a caller-owned RGBA pixel buffer.

Parameters

image ChartForgeX.Raster.RgbaImage required
The complete canvas. All frames in an animation must have matching dimensions.
duration System.TimeSpan required
A nonnegative display duration. Zero preserves a container's zero frame delay.

Properties

public RgbaImage Image { get; } #

Gets the complete frame canvas.

public TimeSpan Duration { get; } #

Gets the nonnegative frame display duration before the next frame or playback completion.