XE中rectangle实现渐变

Fill -> Kind -> Gradient(选项) -> Gradient(Edit)

添加颜色即可

原文地址:https://www.cnblogs.com/studypanp/p/4872907.html