Show / Hide Table of Contents

Struct Playscii.Frame

Json frame object in the Playscii file.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: SadConsole.Readers
Assembly: SadConsole.dll
Syntax
public struct Playscii.Frame

Fields

delay

Duration for this frame.

Declaration
public float delay
Field Value
Type Description
float

layers

Playscii frame layers that will be converted to ScreenSurface.

Declaration
public Playscii.Layer[] layers
Field Value
Type Description
Layer[]

Methods

ToScreenSurface(int, int, IFont, Palette)

Converts the Playscii frame to SadConsole ScreenSurface.

Declaration
public ScreenSurface ToScreenSurface(int width, int height, IFont font, Palette colors)
Parameters
Type Name Description
int width

Width of the ScreenSurface.

int height

Height of the ScreenSurface.

IFont font

IFont to be used when creating the ScreenSurface.

Palette colors

Palette of colors converted from the Playscii format.

Returns
Type Description
ScreenSurface

ScreenSurface containing the image from the first animation frame.

In this article

Back to top

Back to top Generated by DocFX