简体   繁体   中英

Delphi Firemonkey 2 .color property

I don't know if it is just me missing something, but I am quite frustrated by this issue.
When I try to set the .color property there are no values available such as claBlue .

For example:

 Canvas.Stroke.Color := claBue.

Am I missing a reference? I have included FMX.Types .

将使用单元System.UIConsts添加到使用中,您将获得所有可用的颜色名称。

uses System.UIConsts;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM