Show / Hide Table of Contents

Struct Playscii.Tile

Json tile 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.Tile

Fields

bg

Tile background color.

Declaration
public int bg
Field Value
Type Description
int

fg

Tile foreground color.

Declaration
public int fg
Field Value
Type Description
int

glyph

Tile character index.

Declaration
[JsonProperty("char")]
public int glyph
Field Value
Type Description
int

xform

Tile rotation and mirror.

Declaration
public byte xform
Field Value
Type Description
byte

Methods

ToColoredGlyph(IFont, Palette)

Converts the Playscii tile to a SadConsole ColoredGlyphBase.

Declaration
public ColoredGlyphBase ToColoredGlyph(IFont font, Palette colors)
Parameters
Type Name Description
IFont font

IFont to be used when creating the ScreenSurface.

Palette colors

Palette of colors converted from the Playscii format.

Returns
Type Description
ColoredGlyphBase

ColoredGlyphBase equivalent of the Playscii tile.

In this article

Back to top

Back to top Generated by DocFX