Tile Color Property Delta Engine Documentation

Namespace: DeltaEngine.Scenes.Controls
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Syntax

Color Color { get; set; }

Property Value

Type: Color
Remarks

Tests: DeltaEngine.Scenes.Tests.Controls.TilemapTests
Examples

1 unit tests call DeltaEngine.Scenes.Controls.Tile.Color
[Test, Category("Slow")] //ncrunch: no coverage start 
public void RenderColoredLogoTilemap()
{
    CreateBorder();
    var tilemap = new ColoredLogoTilemap(World, Map) { DrawArea = Center };
    tilemap.Add(new FontText(Font.Default, "", new Rectangle(0.3f, 0.6f, 0.2f, 0.2f))
    {
        HorizontalAlignment = HorizontalAlignment.Left,
        RenderLayer = 2
    });
    tilemap.Start<RenderDragInfo>();
}
See Also