shapes Questions
2
I don't find API that explains keras Input.
When should you use shape attribute vs batch_shape attribute?
2
Solved
I want shape in the background of the layout like given below picture. I have tried something , Which is given below.
borders.xml
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns...
1
im new to react-native and overhelmed with all the options in the www. thats why i'm a bit confused how to complete this task in the best possible way.
i want to make something similar to this, bu...
Aubade asked 31/1, 2017 at 15:51
2
Solved
I have a circular drawable on which I set a 8dp white stroke, like this:
circleImage = (ImageView) rootView.findViewById(R.id.image);
circleImage.setOnClickListener(clickListener);
drawable = (...
3
I have created a NumPy array in the following way:
data = numpy.zeros((1, 15, 3), dtype = numpy.uint8)
I then filled this array with RGB pixel values, resulting in a little colour image that can...
3
Solved
I'm trying to create a calculator which calculates the area of a simple quadrilateral.
I know that every quadrilateral can be split into two triangles, and I should be able to calculate the area in...
2
Solved
I have looked at several pages regarding optimizing circle detection using opencv in python. All seem to be specific to the individual circumstances of a given picture. What are some starting poi...
Molehill asked 26/9, 2019 at 5:15
5
Solved
I have class MyView that extends View class. MyView should draw filled triangle. I drew a triangle but I cannot get it filled. This is my onDraw() method:
@Override
protected void onDraw(Canvas ca...
Ute asked 12/12, 2013 at 13:19
5
Solved
Does R have a package for generating random numbers in multi-dimensional space? For example, suppose I want to generate 1000 points inside a cuboid or a sphere.
Eighteenth asked 16/2, 2011 at 13:9
1
Is it possible to make an ImageView into a squircle? i.e not just rounded corners but a squircle? If so, how do you do it?
Basically, I want a list of icons that are squircles, so doing it in XML ...
2
Solved
I am trying to have a circle shape like this in my flutter project. I tried using border-radius in a container. But it didn't work as I expected.
So, how can I have a shape like this given picture?...
Joselynjoseph asked 17/6, 2019 at 7:43
3
I try to create a simple illustration using XML layer-list drawable.
I have two shapes, a circle and a rectangle
I want a circle not to scale.
The following is the layout:
<LinearLayout
xmlns:a...
Vidette asked 31/3, 2014 at 17:16
3
Solved
2
Solved
I am trying to write code that will draw 3 shapes diagonally across a grid. The first two shapes are a square and a circle, which I was able to do.
The third shape, however, is giving me some gri...
1
I am trying to fit known well-defined shapes (eg boxes, cylinders; with configurable positions, rotations and dimensions) to a set of points with normals generated from sampling a 3D mesh. My curre...
Newby asked 19/3, 2019 at 8:31
1
Solved
By convention an image tensor is always 3D : One dimension for its height, one for its width and a third one for its color channel. Its shape looks like (height, width, color).
For instance a batc...
2
I have a shape that I'm using in a layout. I want the color to be programmatically changed in my activity.
<shape android:id="@+id/shape1" xmlns:android="http://schemas.android.com/apk/res/andr...
2
Solved
I'm trying to make customizable icons in Android. I made the vector element, but now I want to give it a rounded background, so I tried to place it within a rounded shape. Like this:
<?xml vers...
Lampedusa asked 17/3, 2016 at 19:40
6
Solved
I want to create a rectangular shape that will be resized with the touches of the user. Below image is a good example of what i want to do:
Is there any example like that? What do I need to stud...
Beauty asked 23/1, 2012 at 15:29
3
Solved
I have the following code:
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line">
<stroke android:width="1dp"/>
<size android:height="1dp" />...
3
Solved
I am trying to make a drawable to use for a button. I would like it to have this coloring, with a 2px border around it.
Everything works just fine except I cannot get the border to show up...
<...
Snowstorm asked 14/7, 2011 at 19:33
4
Solved
I need to create a drawable with a layer-list such that the background layer is an image and the foreground is a transparent color. I am able to do that. Where I am not succeeding is adding some pa...
Pirozzo asked 8/2, 2014 at 23:6
1
Solved
As a direct follow up from my previous question (kindly answered by @PoGibas), I'm tweaking the appearance of my plot. I would like to use borderless circle shapes, but am having problems integrati...
5
Solved
I have trying to create a 3D sphere using just pure css, but I've been unable to generate the shape required. I've seen a cylinder but I can't find any reference to creating an actual sphere.
My c...
Himyarite asked 17/6, 2015 at 12:40
1
Solved
I'm trying to create a Layout with rounded corners and I used shape to help me do so, but when adding the rounded corners, the background white color also stays.
It might be also important t...
Excretion asked 15/8, 2018 at 22:41
© 2022 - 2024 — McMap. All rights reserved.