API Reference
Struct
RasterAnimationFrame
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
- Method RasterAnimationSource.GetFrame
- Method PreparedVisualStory.Frames
Accepted by parameters 3
- Method RasterAnimationEncoder.Encode
- Method RasterAnimationEncoder.WriteTo
- Constructor RasterAnimationSource.RasterAnimationSource
Constructors
public RasterAnimationFrame(RgbaImage image, TimeSpan duration) #Initializes a frame using a caller-owned RGBA pixel buffer.
Parameters
- image ChartForgeX.Raster.RgbaImage
- The complete canvas. All frames in an animation must have matching dimensions.
- duration System.TimeSpan
- A nonnegative display duration. Zero preserves a container's zero frame delay.
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object?