CodeGlyphX logo
CodeGlyphX

API Reference

Struct

ImageAnimationInfo

Namespace CodeGlyphX.Rendering
Assembly CodeGlyphX
Base ValueType
Modifiers sealed

Basic animation metadata returned by ImageReader.TryReadAnimationInfo.

Inheritance

  • ValueType
  • ImageAnimationInfo

Usage

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

Accepted by parameters

Constructors

public ImageAnimationInfo(ImageFormat format, Int32 width, Int32 height, Int32 frameCount, ImageAnimationOptions options) #

Creates a new ImageAnimationInfo.

Parameters

format CodeGlyphX.Rendering.ImageFormat requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
frameCount System.Int32 requiredposition: 3
options CodeGlyphX.Rendering.ImageAnimationOptions requiredposition: 4

Properties

public ImageFormat Format { get; } #

Image format.

public Int32 Width { get; } #

Canvas width in pixels.

public Int32 Height { get; } #

Canvas height in pixels.

public Int32 FrameCount { get; } #

Number of frames in the animation.

public ImageAnimationOptions Options { get; } #

Animation options such as loop count and background color.

public Boolean IsValid { get; } #

Indicates whether the info looks valid.