Top "Cornerradius" questions

is for questions dealing with the radius used when drawing rounded corners for a layer's background.

How to set cornerRadius for only top-left and top-right corner of a UIView?

Is there a way to set cornerRadius for only top-left and top-right corner of a UIView? I tried the following, …

ios cocoa-touch uiview cornerradius
How to set corner radius of imageView?

In Objective-C such line self.mainImageView.layer.cornerRadius = CGRectGetWidth(self.mainImageView.frame)/4.0f; does its job, I tried it in …

ios swift uiimageview cornerradius
Swift - Problems with corner radius and drop shadow

I'm trying to create a button with rounded corners and a drop shadow. No matter how I switch up, the …

ios swift shadow xcode6 cornerradius
UIlabel layer.cornerRadius not working in iOS 7.1

I'm currently looking at a UILabel with the property addMessageLabel.layer.cornerRadius = 5.0f; On a device with iOS 7.0 installed, it …

ios uiview ios7 uilabel cornerradius
set cornerRadius and setbackgroundimage to UIButton

I am trying to set cornerRadius of UIButton but I dont know how to do it. If I do like …

ios uibutton cornerradius setbackground
WPF label styling

I have the following style: <Style x:Key="WhiteStyle" TargetType="{x:Type Label}"> <Setter Property="BorderBrush" Value="…

wpf xaml label cornerradius
UIView animateWithDuration doesn't animate cornerRadius variation

I'm trying to animate the change of the cornerRadius of a UIView instance layer, but the variation of the cornerRadius …

ios uiview core-animation uiviewanimation cornerradius
UISegmentedControl with square corners

I would like to modify UISegmentedControl with a subclass to remove the rounded corners. I can't seem to set the …

ios ios5 uisegmentedcontrol cornerradius
Rounded corners of UILabel swift

I am creating a UILabel programatically. But the below piece of code doesn't give me rounded corners. I think I …

ios swift uilabel cornerradius
Round Specific Corners SwiftUI

I know you can use .cornerRadius() to round all the corners of a swiftUI view but is there a way …

user-interface rounding swiftui cornerradius