美文网首页
一些基本绘画api

一些基本绘画api

作者: F麦子 | 来源:发表于2017-03-30 11:01 被阅读14次

    + (instancetype)bezierPathWithRect:(CGRect)rect;

    + (instancetype)bezierPathWithOvalInRect:(CGRect)rect;

    + (instancetype)bezierPathWithRoundedRect:(CGRect)rect cornerRadius:(CGFloat)cornerRadius; 

    // rounds all corners with the same horizontal and vertical radius

    + (instancetype)bezierPathWithRoundedRect:(CGRect)rect byRoundingCorners:(UIRectCorner)corners cornerRadii:(CGSize)cornerRadii;

    + (instancetype)bezierPathWithArcCenter:(CGPoint)center radius:(CGFloat)radius startAngle:(CGFloat)startAngle endAngle:(CGFloat)endAngle clockwise:(BOOL)clockwise;

    + (instancetype)bezierPathWithCGPath:(CGPathRef)CGPath;

    相关文章

      网友评论

          本文标题:一些基本绘画api

          本文链接:https://www.haomeiwen.com/subject/dvvfottx.html