[][src]Module rs_tiled_json::color

The Color module might be the only portable structure here. These are defined over and over in game code.

This struct has 4 values: r,g,b,a components describing a color. You can create a new color from Color::new(color: &str) where color is a string in one of the following formats:

    #rrggbb
    #aarrggbb

Structs

Color

The basic structure that describes color across all modules.