[英]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
. 当我尝试设置.color
属性时,没有可用的值,例如claBlue
。
For example: 例如:
Canvas.Stroke.Color := claBue.
Am I missing a reference? 我是否缺少参考? I have included FMX.Types
. 我已经包括了FMX.Types
。
将使用单元System.UIConsts添加到使用中,您将获得所有可用的颜色名称。
uses System.UIConsts;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.