Questions tagged [shapes]

Questions related to drawing or defining shapes.

A shape is a geometric representation of some object, defined by the external boundaries which encompass the object.

For 2-D shapes like the circle, , and rectangle their shape is constructed of lines connected together.

3-D shapes are defined by a 2-D which envelopes the interior 3-D volume.

4362 questions
1
vote
1 answer

ShapeDrawable is not drawing properly when given as background

My Current view looks like this: I tried to draw a shape drawable with this code:
Damandroid
  • 756
  • 9
  • 31
1
vote
1 answer

Nature of Excel 2010 VBA Embedded Chart Container

I searched Google and on many different forums but cannot find the Physical Nature (I don't know to say it) of an Embedded Chart's container window, I mean the canvas like rectangular area which serves as, well, the chart container. I know that it…
Nay Lynn
  • 351
  • 1
  • 12
1
vote
1 answer

Changing shapes gradient startcolor in a layer list

I use a selector list to pick a buttons background.
TeleJim
  • 317
  • 3
  • 20
1
vote
0 answers

How to draw custom shape in android using canvas in viewgroup

I want to create a shape like this image. I searched a lot for drawing on canvas with different shapes. I didn't got anything on StackOverflow or Google. Here is the link I referred In this tutorial I got to know how to use the curves with…
Mohd Asif Ahmed
  • 1,880
  • 2
  • 15
  • 29
1
vote
2 answers

SVG path to shape in createjs

How can I convert SVG Path to a shape in createjs? I am newbie in createjs.
1
vote
1 answer

R highcharter add multiple annotations with shapes

I want to add annotations with shapes in Highcharter Here is my data data <- data.frame(a=c(1:12), b=runif(12, 1, 100)) I want to do this columns with some annotations shapes columns with multiple annotations shapes I have already take reference…
chuanchuan
  • 25
  • 4
1
vote
1 answer

How to create a custom shape similar to Add Multiple Topics in brainstorm stencil of Visio 2016

Background I have to many a times draw multiple rectangles in Visio. I noticed the Brainstorming template's stencil in Visio has a shape named "Add Multiple Topics". When you bring this shape to document's page it prompts you with a input to enter…
Siva Senthil
  • 610
  • 6
  • 22
1
vote
1 answer

Netlogo - change shape color

Can I change the color of the shape? It the shape that I have generated as polygon I tried crt 1[ set shape "myPoligon" ;works set heading 0 ;works set size 10 ;works set color red ;doesn`t work ]
YAKOVM
  • 9,805
  • 31
  • 116
  • 217
1
vote
1 answer

How to draw shapes outside the big circle shape - netlogo

I want to draw a large circle and outside to it 50 small ones breed [largecircle lc] breed [smallcircke sc] ask patches with [(pxcor > min-pxcor) and (pxcor < (max-pxcor))] [ set pcolor blue] ;cteate turtle / draw circle/ and make the…
YAKOVM
  • 9,805
  • 31
  • 116
  • 217
1
vote
1 answer

Finding a certain shape in grid

I have a 2 Dimensional array as a grid (9x9 in size) and want to find a couple of specific shapes in it: XXX XXX X X X XXX X X X AFTER i searched for these and removed them from the grid i want to search for 3/4/5-long straight lines.…
DJSchaffner
  • 562
  • 7
  • 22
1
vote
3 answers

WPF draw a shape inside of another shape

I have to build aerodynamically a canvas with different rectangles and some of them has to be crossed. I do this by adding 2 lines as diagonals of the rectangle. The problem is when i set the line to be thicker, the line will go over the rectangle…
XamWaZZ
  • 59
  • 2
  • 12
1
vote
1 answer

How to find the center in unity 2d?

I want to create 2d game. The game is similar to the Scale Puzzle. I've already created nearly all the functionality. Only the last remains. . This is example. And that's how I draw shapes. . I click inside a white square, and after 1…
user9328598
1
vote
0 answers

How to drag and drop canvas particular item in layout

In my layout there is a drawing view inside FrameLayout.When i am trying to create canvas shapes they are created but i need to drag particular item of canvas to another place . I see so many link in that drag and drop with relative layout with…
TechValens
  • 437
  • 6
  • 20
1
vote
1 answer

How to output shape ID in Visio-VBA

Here is the code in text form in case the image is not loading: Sub CommandButton1_Click() Dim NoIO As String Dim shp1 As Visio.Shape NoIO = ComboBox1.Value If NoIO = "7" Then MsgBox shp1.ID 'Call test(shp1)' 'Target…
Kamran64
  • 23
  • 4
1
vote
1 answer

Finding id of shape dragged onto screen in Visio using VBA macro

I currently have a program in Visio that when a specific shape in my custom stencil is dragged onto the screen, a user form comes up and asks the user a question with a combo box used for the user to select an answer. Based on the answer selected,…
Kamran64
  • 23
  • 4
1 2 3
99
100