gradient Questions

5

Solved

I have a gradient I really like but I created it using XML drawable: <gradient android:startColor="#DD181C18" android:endColor="#809C7D5A" android:angle="90"/> What would be an easy way...
Rosarosabel asked 15/12, 2011 at 12:13

7

Solved

I've had a little look around and can't find anything about this. If I have a paragraph of text, is there a way, maybe with CSS3 to gradually change the colour of the text as it goes down to the pa...
Deckhand asked 5/12, 2011 at 11:41

18

Solved

There is documentation about this, but it is for macOs only. https://github.com/react-native-community/react-native-linear-gradient. I linked the library by running npm install react-native link re...
Brote asked 29/9, 2019 at 12:1

4

I have a UIButton. I want to set the gradient of button as below. I have tried below code but it does not set the color as per screenshot. func applyGradient(colours: [UIColor]) -> Void { ...
Agglutinin asked 11/1, 2018 at 6:6

1

I have noticed that a background gradient in Firefox is not so smooth rendered compared to chromium. Firefox: Chromium: Firefox renders the gradient with more "artifacts" and not a homo...
Facilitate asked 10/1, 2023 at 12:3

6

Solved

Here is my component: @Composable fun Cover( name: String, imageRes: Int, modifier: Modifier = Modifier.padding(16.dp, 8.dp) ) { Box(modifier) { Card( shape = RoundedCornerShape(4.dp), backg...
Biggs asked 13/9, 2020 at 14:6

4

Solved

I want to change JButton gradient color, i found this, http://java2everyone.blogspot.com/2009/01/set-jbutton-gradient-color.html, but i want to change gradient for only one button, not all button ...
Hluchy asked 19/8, 2011 at 0:17

2

I need to create a "thermometer"-looking graph using (hopefully) ggplot2, so that I can place it inside a Shiny app. Is it even possible to achieve something like this?! In reality, I onl...
Antemeridian asked 12/4, 2024 at 7:21

3

Solved

I have a data frame like this BP R2 LOG10 96162057 0.2118000 2.66514431 96162096 0.0124700 0.31749391 96162281 0.0008941 0.07012148 96163560 0.5011000 2.48505399 96163638 0.8702000 3.37778598 an...
Forbes asked 28/8, 2013 at 12:4

3

Solved

My goal is to reproduce this plot, and my problem is reproducing the gradient fill in each bar. ADDED after COMMENT The good comment of @PavoDive directs us to a question that basically says "You...
Doyle asked 3/8, 2015 at 16:8

6

Solved

I want to create a checkerboard pattern using gradients. I've found an example and modified it to my needs, however it only works with -moz prefix. When I remove the -moz prefix, the pattern is com...
Walleye asked 12/2, 2016 at 11:53

21

Solved

How do I use CSS3 gradients for my background-color and then apply a background-image to apply some sort of light transparent texture?
Esquivel asked 23/3, 2010 at 22:30

22

Solved

I'm trying to apply a gradient to a border, I thought it was as simple as doing this: border-color: -moz-linear-gradient(top, #555555, #111111); But this does not work. Does anyone know what is...
Blankly asked 26/4, 2010 at 21:42

3

Solved

Given an image, is there a way to soften the edges using css? Or through some js library (although css would be preferred)? The idea is that the edges of the image should blur into transparency, so...
Disapproval asked 28/3, 2015 at 9:38

5

Solved

Is it possible to draw a gradient over an image drawable using Jetpack Compose? fun HeroCover() { Column { val image = +imageResource(R.drawable.edge_of_tomorrow_poster) Container(modifier = He...
Reword asked 15/12, 2019 at 21:29

3

Solved

So I tried to make a gradient fill for the ChartJS doughnut chart, but this only works horizontal and not in a circle. This is the code that I'm using: var ctx = document.getElementById("chart-a...
Therrien asked 12/5, 2015 at 9:11

4

Solved

I'm looking for a code that permits to have this effect on a canvas' stroke. I've already got an animated circular stroke, I only need to get the ANGLE gradient, not linear and not radial. I've got...
Glaciate asked 6/3, 2014 at 12:3

6

Solved

How to create gradient colour look like following image programatically.
Cornemuse asked 2/4, 2014 at 12:3

3

Solved

I read a few other articles about how people want to customize the colors and gradients of a MenuStrip. What I want to do is remove the gradient so that the MenuStrip is the same color as the rest...
Hypogeous asked 16/2, 2011 at 3:5

11

Solved

I want to create gradient background where the gradient is in the top half and there's a solid color in the bottom half, like in this image below: I can't because the centerColor spreads out to ...
Miyamoto asked 18/12, 2012 at 9:28

8

Solved

I'd like to have an enumeration of Colors based on the rainbow colors (red... yellow... green... blue...). I see basically two ways to do that: Create a lookup table containing some important re...
Copilot asked 18/2, 2010 at 12:20

6

Solved

I ran into a problem using a linear-gradient on a particularly large element. On smaller elements, a hard edge can be achieved with the following: background-image: linear-gradient(180deg, #000...
Prophylaxis asked 20/10, 2015 at 10:17

8

I am attempting to replicate a login screen design my designer did for an app. The background image uses a blendMode of softLight, the catch is that the colour it blends with is a gradient colour....
Cricket asked 5/7, 2018 at 11:51

5

Solved

I've been trying to use a linear gradient on top of my background image, in order to get a fading effect on the bottom of my background, from black to transparent, but can't seem to be able to make...
Broadcasting asked 16/5, 2013 at 14:0

8

Solved

I'd like to put a simple loading indicator on my website that's triggered by a script. It should be a simple circle arc that's got a gradient and is spinning while the user is waiting. I haven't tr...
Delindadelineate asked 31/1, 2013 at 19:13

© 2022 - 2025 — McMap. All rights reserved.