Draw¶
Namespace Nfty.Ticket in assembly Nfty.Ticket.
One layer to draw.
Constructors¶
Draw(string, MenuCell, LayerKind, double, double, ColorModel)¶
public Draw(string ImageKey, MenuCell Source, LayerKind Kind, double Hue, double Sat, ColorModel Model);
Parameters
ImageKey(string) - What to askMenuArchive.ArtBytes()for.Source(MenuCell) - Where this layer's art sits inside those bytes.Kind(LayerKind) - Custom draws as-is; Dynamic and Static are tinted.Hue(double) - Hue in degrees. Meaningless for Custom.Sat(double) - Saturation, 0..1. Meaningless for Custom.Model(ColorModel) - The color space. Meaningless for Custom.
Properties¶
Hue¶
Hue in degrees. Meaningless for Custom.
ImageKey¶
What to ask MenuArchive.ArtBytes() for.
Kind¶
Custom draws as-is; Dynamic and Static are tinted.
Model¶
The color space. Meaningless for Custom.
Sat¶
Saturation, 0..1. Meaningless for Custom.
Source¶
Where this layer's art sits inside those bytes.