Top "Shape" questions

Questions related to drawing or defining shapes.

How to create a semi transparent shape?

I would like to know how to draw semi-transparent shapes in OpenCV, similar to those in the image below (from …

c++ opencv shape alpha-transparency
How do I draw an arrowhead (in Android)?

I'm fairly new to Android and have been toying around with Canvas. I'm attempting to draw an arrow but I'm …

java android draw shape
How do I add padding to a bitmap and a color in a layer-list

I need to create a drawable with a layer-list such that the background layer is an image and the foreground …

android android-layout bitmap shape layer-list
size of node with shape=circle

i'm trying to set the size of the nodes this way: controller[shape=circle,width=.5,label="Controller",style=filled,fillcolor="#8…

size graphviz dot geometry shape
More than six shapes in ggplot

I would like to plot lines with different shapes with more than six sets of data, using discrete colors. The …

r colors ggplot2 line shape
expected dense to have shape but got array with shape

I am getting the following error while calling the model.predict function when running a text classification model in keras. …

python keras shape text-classification
Android set XML shape as drawable programmatically

Hello I have a drawable myshape.xml, it contains a <shape> and I cannot set an android:id …

android xml resources drawable shape
Android different EditText backgrounds for different states using shapes, selector or list

I'm starting a new app where I use ActionBarSherlock & HoloEverywhereLib. My min & target SDK are the same (10/2.3.3). This …

android styles android-edittext state shape
Diagonal Wedge Shaped CSS - Edge to Edge Centered in Browser

I have been trying to make this shape in CSS. Ideally it will span the entire length of the browser …

css shape css-shapes
How to draw filled triangle on android Canvas

I have class MyView that extends View class. MyView should draw filled triangle. I drew a triangle but I cannot …

android android-canvas shape