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
0 answers

Image disappears on the device but shown on android studio preview

I have a vector image that I redesigned using XML. In the preview on Android Studio the image looks fine but on the device it seems to disappear. Any suggestions? I have this line in my Application class:…
Shachar87
  • 149
  • 1
  • 1
  • 11
1
vote
0 answers

Changing shape from nL, 1L to nL in python

I have 3 lists of coordinates (xs, ys, zs), calling shape(xs) gives (14897L,) however after performing some rotations on the data the shape changes to (14897L, 1L). This breaks some things down the line in my code and I cant work out how to fix…
Barcode
  • 11
  • 3
1
vote
1 answer

The meaning of question mark (?) in keras layers input size

I'm using python2 with keras, tensorflow. x = Input((32,), name="input1") I think x's shape is (32,) but print(x) 's result is that 'shape(?,32)'. What is means of 'shape(?,32)'? And '?' means what and 32 means what..?
김정화
  • 31
  • 1
  • 1
  • 8
1
vote
1 answer

"The item with the specified name wasn't found" error when trying to group shapes on a worksheet

I am writing a VBA program to selectively group some rounded rectangle shapes. There are going to be sets of these groups, so I want to store them in an array. (For e.g. I would like to have dataSeriesGroup(1) to have a group of say three rounded…
1
vote
1 answer

Illustrator Adobe - Getting html coordinates from an illustrator file

I have an illustrator file and I need to get coordinates for the different shapes. The aim is to be able to click different parts of the image to link through to different URLs. Please suggest how to achieve this Thanks
1
vote
2 answers

Drawing custom oval and rectangle XML shape as buttom background

I want to create custom button background that look like this: I can't use corners attribute in rectangle shape because its rounds only the corner and the middle of the left side is straight or whenver I set too much value to that attribute it…
Expiredmind
  • 788
  • 1
  • 8
  • 29
1
vote
2 answers

deleting a circle made in HTML5 Canvas

I've made a canvas where I draw shapes on. When I want to delete them, I basically create the same shape again but it's white, so I don't delete any other shapes (saved the x and y coordinate, so nothing to worry…
1
vote
1 answer

pyplot plotting with different shapes

I'm specifically trying to have one of my lines end sooner than the other. They are chronological (month by month and year over year). months= [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16] pass_2015 = [0, 0, 0, 0, 0, 134, 115, 185, 179, 147, 160, 126,…
Jesse Caron
  • 63
  • 1
  • 5
1
vote
2 answers

Creating a grid shape in C(Why is it creating one extra line?)

I am trying to create a grid in C with this form +--+--+--+ | | | | +--+--+--+ | | | | +--+--+--+ and so on.The user will determine how many columns and rows wants. In the code below the logic is that one execution of the row loop will create…
J.Antoniou
  • 11
  • 4
1
vote
4 answers

Using loop to create a shape

I'm supposed to use nested for loops to create this shape: https://i.stack.imgur.com/le3lX.jpg This is what I currently have: I…
Atlaz
  • 13
  • 3
1
vote
2 answers

create/change/delete/undo number of different shapes on canvas, onClick() of button

I'm creating android application for shapes on canvas onClick of button. What I want: I have three buttons 'Square','Circle','Triangle'. Each time I tap on button and object of that shape will be created & displayed in a random position on one…
Rucha Bhatt Joshi
  • 822
  • 1
  • 15
  • 38
1
vote
1 answer

Printing a triangle in r

I'm trying to write some code to give me an output that looks like: * * * * * * * * * * * * * * * * * * * * * * * * * Given my limited r…
etuo
  • 155
  • 1
  • 11
1
vote
2 answers

Sorting Pictures

I am trying to select pictures which are in random cells in column "K" and place them in row 1, starting at column "K". I am able to copy each picture with the below code. I am trying to find the first cell starting at row "K" which doesn't have a…
1
vote
2 answers

Extracting a shape from a chart

Let's assume I have a have a scatter smoothed line chart on an Excel spreadsheet like the next one: Is there a way to extract the function line from the chart? As a shape? Probably the solution (if there is one) is with a VBA routine and that's…
Pspl
  • 1,398
  • 12
  • 23
1
vote
1 answer

how can I free drawing on shapes in konvajs

I want to make free drawing on top of shapes at konvajs. like an exp; Can u give me advise about shapes attrs like zindex or smt. https://ibb.co/jq9pUK