Rectangles

Every rectangle I dray has rounded corners and the lines are anti-aliased/have different shades.

How does one draw a SOLID rectangle (all lines a uniform color) with square corners?.

Also, draw a few shapes, click on a selector, make adjustment, try to draw another shape - NOTHING. FG/BG colors do not draw (unless erasing). Impossible.

This is not an intuitive program, unless I’m missing something.

Can someone please advise on

  1. Why I cant draw a rectangle in the specified color with SQUARE corners.
  2. Why every selection makes additional drawing impossible - on the same paint layer.

Many thanks for anyone’s consideration, although judging by the lack of replies to basic questions in the past two years, I’m not holding my breath.

Sorry to sound frustrated, but I’m frustrated.

tia,

R.

Krita uses the brush you’re using for the outline. Make sure you either you vector layer, or use something like Basic-1 brush, or Basic-Size but change the Size to be always 100% and change the shape of the brush tip to be rectangular.

That’s unclear - what selection? Like an actual selection made with a selection tool? Make sure to use Select → Deselect when you don’t need the selection anymore.

I’m not sure what you mean here either, can you maybe make a video of the situation or at least a screenshot of your whole Krita window?

Hello rockmo

For the retangle you have few options in the tools options, you can choose to draw the edges or fill it with color or both. (the round corner options are here too)

For your second problem I’m not sure to understand correctly… For the moment I think the Alpha Channel (tranparence) is locked, in the layer palette or in the up tool bar after the eraser, but i could be wrong

Seriously, how bad is this ““forum””???

It is impossible to reply to anyone.

JFC, I AM A PROFESSIONAL CODER AND THIS LIKE 12 YEAR OLD PUT IT TOGETHER.

For Chief, pick Any brush with rectangle - THERE ARE NO SOLID RESULTS WITH ANYTHING OTHER THAN EFFING RADIUS BORDERS - EFFING USELESS FOR WHAT I NEED !

NOTHING IS A SOLID COLOR!

I do not need a you tube vid. you can test it yourself in 3 secs flat!

I know you are frustrated and you are having a bad time in getting the result you need. But that doesn’t warrant in shouting (all caps is perceived as shouting) and using ‘eff’ words while talking to people who are trying to help you.

That might repell them and you might nnotget replies.

Regarding replying to anyone, I think it is pretty clear how to reply we all are replying to each other for past 1 year and believe me some of the replies are long like an essays here. So I think you might be missing something.

1 Like

I know what all caps means. I did it to emphasize how pissed I am.

And, quite frankly, this response forum is terrible. One has to Right click to reply ??

Per Original Question:

How does one construct a solid (specific SOLID color- no feathering - AND no rounded corners?)

I am never usually that rude. But, at some point one has to scream. I also never used real bad language.

The point is that I need fully square - and solid rectangles/squares. Imagine ms-paint - crappy as it is, at least it can do that. This app CAN NOT!

Yes it has some other useful kicks that I can export to a decent app.

but, afaic, this is a utility tool and not a decent or helpful resource.

kind regards,

I don’t know if you are using mobile or desktop but in both there is a simple button to reply. it literally says “Reply”

The rectangle you see here is also drawn in Krita.

Now to solve your question.

You have two ways to draw things in krita. One is through raster brushes and one is through vector shapes.

Most probably you are using raster way, which uses the selected brush as border. And most probably your brush smooth and not hard.

Instead of getting frustrated, calm down and go to the tool option, then select outline to none and fill to foreground colour.

This is one way. There is another way too. Add a vector layer and then add shapes on it it will not have smooth borders.

Since Krita is a raster based application most of the time there will be some anti-aliasing. If you need perfect vectors shapes you might have luck in trying out other vector programs like inkscape

Hope this response pacifies you and hope you will be civil in responding like the way you are most of the time.

Edit: replaced the video since some background audio got recorded inadvertently which is irrelevant here.

3 Likes

For the rectangle with an outline, I get the exact results if I do this:

  • create a vector layer
  • choose the rectangle tool
  • choose a brush size (it will be the outline width)
  • make the rectangle
  • choose Select Shapes Tool
  • choose the corners to be straight, not cut (you can do it in Tool Options for the Stroke, there is this little […] button). See

    (The orange rectangle is what I did with Krita over the screenshot to point to the correct place… and to show that it does have correct corners)

However, Krita still anti-alias the edges. I placed it with a mouse, which has subpixel (on the canvas) precision, which means it’s probably not placed correctly. To get completely solid lines without any anti-aliasing, those things must happen:

  • the width of the line must be integer
  • the placement must be integer and the line width must be even OR the placement must be exactly in the middle of the pixel and the line width must be odd.

There is a problem in Krita in regards of the lines with odd widths because the Tool Options (which is what allows you to put the vector shapes exactly where you need them) doesn’t allow you to set the position with .5 at the end (to make it in the middle of the pixel), which is something that needs to be fixed, there was a bug report on that but I cannot find it now… In which case you might need to use something like Inkscape instead. Please do remember that Krita is not for graphics design, vector tools are more complementary than the main purpose of the program, so there are still issues there.

PS. Also note that Krita, unlike lots of vector editors like Inkscape or I believe the Adobe one, shows you the vector shapes in the canvas pixels, while those other editors shows you vectors in the screen pixels - which means if you have high resolution screen, you won’t see the anti-aliasing on your work until you export it to something like .png where the pixels will finally be visible. So the same vector shape might look better in Inkscape even though it’s still wrongly placed and will still have anti-aliasing when exported.

1 Like

I should add doing align and if your on a pixel layer it does nothing it already baked into the pixels which is what I am assuming it happen there.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.