rounded-corners Questions
5
How can I draw a rectangle with rounded corners in OpenCV? I know that the functions ellipse() and line() can be simply put together to draw it. I just wonder if someone has done it before and has ...
Mcadoo asked 24/9, 2013 at 4:45
13
Solved
I guess the title is kind of hard to understand, so I'll explain.
I am trying to achieve this effect:
(a box which has rounded corners and its border, which also has rounded borders).
I've mana...
Upbraiding asked 29/1, 2011 at 21:40
4
Solved
I got a square logo and I need to round_corner it, searched for a while and got the follow code "working":
def round_corner_jpg(image, radius):
"""generate round corner for image"""
mask = Image...
Circumbendibus asked 2/7, 2012 at 3:9
2
Solved
I'm trying to create a rounded square line progress bar to draw a progress around an image.
So far, I have the following XML which defines my rounded square line:
<shape xmlns:android="http:...
Lipid asked 29/5, 2016 at 8:47
7
Solved
I don't know WPF and am now learning it. I was looking for rounded corners TextBox in WPF. So I searched Google and found a piece of XAML :
<!–Rounded Corner TextBoxes–>
<ControlTemplate...
Feeley asked 24/1, 2011 at 7:57
36
Solved
I’ve been working on an application for a couple of years and received a simple design request: Round the corners on a UIView and add a drop shadow.To do as given below.
I want a custom UIView... :...
Rotative asked 21/1, 2011 at 0:58
20
Solved
I want to make the corners of a button round. Is there an easy way to achieve this in Android?
Dubuffet asked 19/5, 2011 at 6:14
6
How do you make a div so that its border corners are rounded?
Cisco asked 18/8, 2011 at 11:51
20
Solved
I am using Flutter to make a list of information about movies. Now I want the cover image on the left to be a rounded corners picture. I did the following, but it didn’t work. Thanks!
getItem(var...
Viscometer asked 25/7, 2018 at 7:42
18
Solved
I have searched and searched, but haven't been able to find a solution for my requirement.
I have a plain ol' HTML table. I want round corners for it, without using images or JS, i.e. pure CSS onl...
Gurdwara asked 8/2, 2011 at 10:58
9
Solved
I usually use the following code to set rounded corners.
imageView.layer.cornerRadius = 10
It works when the imageView is set at Aspect Fill.
But when the imageView is set to Aspect Fit mode, a...
Kerekes asked 23/1, 2016 at 10:4
2
Solved
I want to make JTextArea has a rounded corners, and i did this code :
public BPosTxtArea() {
super();
setOpaque(false);
}
@Override
protected void paintComponent(Graphics g) {
Graphics2D g2 = ...
Otranto asked 22/12, 2015 at 5:21
11
Solved
I'd like to round the corners of a view and also change the color of the view based on the contents at runtime.
TextView v = new TextView(context);
v.setText(tagsList.get(i));
if(i%2 == 0){
v.set...
Creationism asked 22/8, 2013 at 22:29
4
Solved
Are there any official guidelines for how many pixels the edge radii should be when giving Android launcher icons rounded corners?
I've found guidelines for launcher icon pixel sizes (but rounded ...
Sundaysundberg asked 6/7, 2015 at 20:46
5
I've spent almost a couple of hours to figure it out. However, it did not happen and finally, I had to come here. Two things are required to be achieved:
Firstly I'd like to have a spontaneous co...
Propitiate asked 7/3, 2019 at 11:17
13
Solved
I'm at a bit of a loss. I've used the layer property of UIView to round the corners of multiple elements in my app. However, this one UIImageView is simply not complying. Not sure what I am missing...
Kelseykelsi asked 30/11, 2010 at 14:12
7
Solved
I'm looking for an algorithm that allows me to create rounded corners from a polygon.
I have an array of points that represents the polygon (outlined in red) and on output I want an array of points...
Deeprooted asked 16/7, 2014 at 3:41
13
Solved
I have an ImageView and I want to make it with rounded corners.
I use this:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" andr...
Grube asked 14/8, 2013 at 10:32
7
Solved
I'm trying to give my webView rounded corners.
Here is my code:
rounded_webview.xml:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/andr...
Sporran asked 26/7, 2012 at 18:12
13
Solved
How to set corner radius only only bottom-left, bottom-right, and top-left corners of a textview?
let rectShape = CAShapeLayer()
rectShape.backgroundColor = UIColor.redColor().CGColor
rectShape.bou...
Twinge asked 5/7, 2015 at 16:45
5
Solved
I know svg has an in built function to do rounded corners, but I need to do rounded corners on only 2 of the four corners.
I know I can draw multiple rectangles on top of each other to imitate tha...
Extortionate asked 24/8, 2012 at 19:44
10
Solved
How do I make a UIImageView with rounded corners on a Swift iOS Playground?
Inside it needs to be filled with a color.
Margarettamargarette asked 24/8, 2014 at 20:43
11
Solved
Hi i am searching a clean solution without overwriting drawRect or stuff like that to create a UIView with Rounded corners on the Top of the View. My main problem here is to create variable solutio...
Malevolent asked 25/4, 2012 at 13:38
5
Solved
I have a UIView in a custom UITableViewCell and I want to round just bottom Left and Right corners of that view. I'm doing the following, but it's not working:
- (void)awakeFromNib {
// Initializ...
Ruprecht asked 28/1, 2016 at 11:26
2
Solved
I'm trying to create a rounded triangle using Canvas in Jetpack Compose.
I try this code for drawing triangle:
@Composable
fun RoundedTriangle() {
Canvas(modifier = Modifier.size(500.dp)) {
val t...
Disfigure asked 28/10, 2021 at 5:59
1 Next >
© 2022 - 2024 — McMap. All rights reserved.