Top "Shapes" questions

Questions related to drawing or defining shapes.

How to save a Google maps overlay shape in the database?

I want to save a Google maps overlay shape in the database. This is my code. It works perfectly but …

mysql database google-maps-api-3 shapes overlays
WPF Rectangle does not have a Click event

It seems that the WPF Rectangle shape does not have the Click event defined. What am I supposed to use …

wpf events shapes
How to draw and move shapes using mouse in C#

I'm new to programming in C# and wanted to ask for a little bit of help. I'm currently trying to …

c# shapes mousemove mousedown
How to move shapes in JavaFX?

I've been trying to make a program that displays a circle and lets you move it using buttons but I …

java javafx shapes direction
Animate a bezier path drawn in drawRect() Swift

I have this shape that i draw in drawRect() var rectanglePath = UIBezierPath() override func drawRect(rect: CGRect) { rectanglePath = UIBezierPath(rect: …

animation swift shapes bezier
Is there an easy and fast way of checking if a polygon is self-intersecting?

I have a System.Windows.Shapes.Polygon object, whose layout is determined completely by a series of points. I need …

c# .net geometry polygon shapes
Getting a reference to the parent ViewGroup

I am creating a scalable shape by adding a shape and handles as separate views to a ViewGroup. Once a …

android shapes viewgroup
Creating a chat bubble using Shapes or 9-patch image

I am trying to create a template for my chat bubbles in an android app i am currently working on. …

android shapes nine-patch
Scaling/Translating a Shape to a given Rectangle using AffineTransform

I'm trying to scale/translate a java.awt.Shape with AffineTransform in order to draw it in a defined bounding …

java graphics drawing shapes affinetransform
Python Matplotlib add Colorbar

i've got a problem using MatlobLib with "Custom" Shapes from a shapereader. Importing and viewing inserted faces works fine, but …

python matplotlib legend shapes cartopy