C# Class Sharplike.Core.Rendering.Glyph

显示文件 Open project: eropple/sharplike Class Usage Examples

Public Properties

Property Type Description
Color Color
Index System.Int32

Public Methods

Method Description
Glyph ( Int32 glyphIndex, Color glyphColor ) : System

Constructor.

Method Details

Glyph() public method

Constructor.
public Glyph ( Int32 glyphIndex, Color glyphColor ) : System
glyphIndex System.Int32 The glyph index in the application's glyph palette.
glyphColor Color The glyph color (32-bit RGBA).
return System

Property Details

Color public_oe property

The color of the glyph to render. Uses color tinting by default (OpenGL implementation), so grayscale will be multiplied and properly tinted (darker versions of specified color).
public Color Color
return Color

Index public_oe property

The GlyphPalette index of the glyph to display. Users are recommended to build their own glyph index mappings.
public Int32,System Index
return System.Int32