Show / Hide Table of Contents

Struct Playscii.Layer

Json layer 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.Layer

Fields

name

Layer name.

Declaration
public string name
Field Value
Type Description
string

tiles

Playscii tiles that will be converted to ColoredGlyphBase.

Declaration
public Playscii.Tile[] tiles
Field Value
Type Description
Tile[]

visible

Visibility of this layer.

Declaration
public bool visible
Field Value
Type Description
bool

Methods

ToSurface(ScreenSurface, Palette)

Converts the Playscii layer to a SadConsole ScreenSurface.

Declaration
public ScreenSurface ToSurface(ScreenSurface parent, Palette colors)
Parameters
Type Name Description
ScreenSurface parent

ScreenSurface that represents Playscii frame holding this layer.

Palette colors

Palette of colors converted from the Playscii format.

Returns
Type Description
ScreenSurface

ScreenSurface containg the given Playscii layer.

In this article

Back to top

Back to top Generated by DocFX