On 2016-09-26 13:52, Martin Schreiber via Lazarus wrote:
> Or:
> "
>  Alpha := ...; // property Alpha: TColor
> "
> for alpha per colour channel.

In that case I would make it a record type with RedAlpha, GreenAlpha and
BlueAlpha: Byte. Why?, Because TColor's range is way to large, with most
of the acceptable values being meaningless.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to