gavinkwoe / BeeFramework

[Experimental] A semi-hybrid framework that allows you to create mobile apps using Objective-C and XML/CSS
MIT License
3.33k stars 1.06k forks source link

新增对UIView任意圆角设置的支持,必须配合设置border-radius才有效 #121

Open cdoky opened 9 years ago

cdoky commented 9 years ago

使用方式如下:

test

    {
        border-radius:10px;
        corners:TR;
    }

注: 这里corners支持的值为: TR --- UIRectCornerTopRight TL ---- UIRectCornerTopLeft BR --- UIRectCornerBottomRight BL --- UIRectCornerBottomLeft

可以任意组合,中间减号连接,组合方式如下 TR-TL-BR

cdoky commented 9 years ago

这个是根据我们的项目需求改的,已还原