Top "Rectangles" questions

A rectangle is a geometric shape: any quadrilateral with four right angles

How to draw a rounded rectangle in c#

I am using this code to make a rounded rectangle. But it only draws upper left and right corners of …

c# winforms graphics drawing rectangles
How to calculate distance between two rectangles? (Context: a game in Lua.)

Given two rectangles with x, y, width, height in pixels and a rotation value in degrees -- how do I …

lua distance rectangles
How add text in Rectangle in Javafx

How do I add a text at the center of a rectangle? I've been searching and have not found a …

javafx rectangles
Check if two areas are in contact

Possible Duplicate: Finding the overlapping area of two rectangles (in C#) I have two areas identified by top left and …

c# rectangles
Algorithm for finding the fewest rectangles to cover a set of rectangles without overlapping

I have a set of rectangles and I would like to "reduce" the set so I have the fewest number …

algorithm language-agnostic geometry rectangles
Rotating a rectangle (not image) in pygame

In pygame I use pygame.draw.rect(screen, color, rectangle) for all the rectangles in my program. I want to …

python rotation pygame rectangles
How to check intersection between a line and a rectangle?

The title says it all, Ive been searching around and couldnt find anything that was straight and to the point. …

java line collision intersection rectangles
How to add a text into a Rectangle?

I have a code that draws hundreds of small rectangles on top of an image : The rectangles are instances of …

python matplotlib label rectangles
Draw Rectangle in MonoGame

How do you draw shapes, such as Rectangles and Circles, in MonoGame without having to save the a predrawn shape …

c# geometry monogame rectangles drawrectangle
How to draw a rectangle with a colored border in gnuplot

I would like to draw an empty rectangle in my plot. So far I have: set style rect back fs …

gnuplot rectangles