iphone Programming Glossary: byroundingcorners
how to set cornerRadius for only top-left and top-right corner of a UIView? http://stackoverflow.com/questions/10167266/how-to-set-cornerradius-for-only-top-left-and-top-right-corner-of-a-uiview initWithFrame frame CALayer layer CALayer layer UIBezierPath shadowPath UIBezierPath bezierPathWithRoundedRect frame byRoundingCorners UIRectCornerTopLeft UIRectCornerTopRight cornerRadii CGSizeMake 3.0 3.0 layer.shadowPath shadowPath.CGPath view.layer.mask..
Just two rounded corners? [duplicate] http://stackoverflow.com/questions/4845211/just-two-rounded-corners
Grouped uitableview with shadow http://stackoverflow.com/questions/6912904/grouped-uitableview-with-shadow frameRect CGPathRef shadowPath UIBezierPath bezierPathWithRoundedRect shadowBackgroundView.bounds byRoundingCorners UIRectCornerAllCorners cornerRadii CGSizeMake PageCellBackgroundRadius PageCellBackgroundRadius .CGPath shadowBackgroundView.layer.shadowPath.. CGSizeMake 0.0 1.0 CGPathRef shadowPath UIBezierPath bezierPathWithRoundedRect shadowBackgroundView.bounds byRoundingCorners UIRectCornerAllCorners cornerRadii CGSizeMake PageCellBackgroundRadius PageCellBackgroundRadius .CGPath shadowBackgroundView.layer.shadowPath..
iOS: Mask a UIImage using UIBezierPath http://stackoverflow.com/questions/7071815/ios-mask-a-uiimage-using-uibezierpath maskLayer CAShapeLayer layer UIBezierPath roundedPath UIBezierPath bezierPathWithRoundedRect maskLayer.bounds byRoundingCorners UIRectCornerTopLeft UIRectCornerBottomRight cornerRadii CGSizeMake 16.f 16.f maskLayer.fillColor UIColor whiteColor CGColor..
UIBezierPath Subtract Path http://stackoverflow.com/questions/8859285/uibezierpath-subtract-path Subtract Path By using UIBezierPath bezierPathWithRoundedRect byRoundingCorners cornerRadii I am able to create a rounded view such as this How could I subtract another path from this one or some other.. can do something like this Psudocode UIBezierPath bigMaskPath UIBezierPath bezierPathWithRoundedRect bigView.bounds byRoundingCorners UIRectCornerTopLeft UIRectCornerTopRight cornerRadii CGSizeMake 18 18 UIBezierPath smallMaskPath UIBezierPath bezierPathWithRoundedRect.. cornerRadii CGSizeMake 18 18 UIBezierPath smallMaskPath UIBezierPath bezierPathWithRoundedRect smalLView.bounds byRoundingCorners UIRectCornerTopLeft UIRectCornerTopRight cornerRadii CGSizeMake 18 18 UIBezierPath finalPath UIBezierPath pathBySubtractingPath..
How do I round only the top two corners of a UILabel? http://stackoverflow.com/questions/9034328/how-do-i-round-only-the-top-two-corners-of-a-uilabel
|