Show / Hide Table of Contents

Class PaletteChunk

Inheritance
System.Object
Chunk
PaletteChunk
Inherited Members
Chunk.HEADER_SIZE
Chunk.Frame
Chunk.Length
Chunk.ChunkType
Chunk.ReadChunk(Frame, BinaryReader)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FasterGames.Aseprite.Editor.Library.Chunks
Assembly: cs.temp.dll.dll
Syntax
public class PaletteChunk : Chunk

Constructors

PaletteChunk(UInt32, BinaryReader)

Declaration
public PaletteChunk(uint length, BinaryReader reader)
Parameters
Type Name Description
System.UInt32 length
System.IO.BinaryReader reader

Properties

Entries

Declaration
public List<PaletteEntry> Entries { get; }
Property Value
Type Description
System.Collections.Generic.List<PaletteEntry>

FirstColorIndex

Declaration
public uint FirstColorIndex { get; }
Property Value
Type Description
System.UInt32

LastColorIndex

Declaration
public uint LastColorIndex { get; }
Property Value
Type Description
System.UInt32

PaletteSize

Declaration
public uint PaletteSize { get; }
Property Value
Type Description
System.UInt32

Methods

GetColor(Byte)

Declaration
public Color GetColor(byte index)
Parameters
Type Name Description
System.Byte index
Returns
Type Description
Color
In This Article
Back to top Copyright FasterGames ©