Download Now

    Reference THSL

    Declared in Codebot.Graphics.Types.pas on line 411

    THSL is a color in hue, saturation, and lightness form with each value ranging from 0 to 1. A float converts to a fully saturated hue.
      THSL = record
      public
        { The hue, saturation, and lightness from 0 to 1 }
        Hue: Float;
        Saturation: Float;
        Lightness: Float;
        { Create an HSL color }
        class function Create(H, S, L: Float): THSL; static;
      end;

    See also

    Float in Codebot.System.pas