1. 程式人生 > >iOS繪圖CALayer、UIBezierPath運用(邊框、填充、複製、漸變)

iOS繪圖CALayer、UIBezierPath運用(邊框、填充、複製、漸變)

_yReplicatorLayer.frame= _xReplicatorLayer.frame= CGRectMake(_YLabelWidth,_YunitLabelHeight,_mainView.frame.size.width-_YLabelWidth-_spaceWidth,_mainView.frame.size.height-_XLabelHeight-_YunitLabelHeight);