shadow Questions

2

Solved

I am drawing a custom shape for a topbar in jetpack compose. I want to draw a shadow for the path. val topBarShapePath = Path().apply { moveTo(dpToPixels(leftPadding), 0f) lineTo(dpToPixels(leftP...
Gussy asked 3/12, 2021 at 22:57

0

Note: I'm using the WebGPU build 167 of three.js for this question and JSFiddle. See screenshot and JSFiddle. I have a simple sphere between two "floors", with a DirectionalLight pointing...
Antecedence asked 20/8 at 17:13

6

Solved

Since Jetpack Compose has this limitation I'm looking for workaround solution for this problem? Maybe Canvas could do the trick? I really appreciate if someone can provide code snippets of how to r...

6

Solved

Here is my style defined in the React-Native screen. I have used the elevation property to achieve a box-shadow. But it's not working properly. const styles = StyleSheet.create({ scrollContainer: {...
Imagery asked 6/12, 2018 at 8:26

17

How can I add shadow to the widget like in the picture below? This is my current widget code.
Gauger asked 7/9, 2018 at 18:22

15

Solved

I'm trying to create a button with rounded corners and a drop shadow. No matter how I switch up, the button will not display correctly. I've tried masksToBounds = false and masksToBounds = true, bu...
Oldwife asked 9/7, 2014 at 3:11

4

Solved

In Qt5 this was easy with using DropShadow. But in Qt6 the module QtGraphicalEffects is removed. Is there any trick, workaround or maybe new way in Qt6 to create drop shadow around some component? ...
Dupin asked 10/2, 2021 at 21:15

3

I have a vector drawable (category_bg) and I'm using it as a background to a FrameLayout <?xml version="1.0" encoding="utf-8"?> <vector xmlns:android="http://schemas.android.com/apk/res/...
Laryngeal asked 2/2, 2017 at 12:38

2

Shadows seem to cut off on some of my CardView usages. Any idea why? looks like removing the padding on the parent resolves the issue, but I do want the padding. And I don't want to use margin on t...
Tunnage asked 26/3, 2021 at 0:26

4

Solved

I have a strange question. Even though I did read a lot of tutorials on how to do this, the final result only shows the bezier line, not any shadow whatsoever. My code is pretty simple : let borde...
Barajas asked 18/3, 2015 at 15:36

5

Solved

If you define a shadow ONCE, then it applies to all "graphics" on the canvas from thereon after (which is what it's supposed to do). Sample: http://flanvas.com/development/flanvas/test.html Does ...
Thorton asked 10/1, 2011 at 18:3

5

Solved

is it possible? I would like to remove the shadow of the buttons on Xamarin Forms. Thanks
Gigantopithecus asked 20/7, 2016 at 10:20

16

Solved

I want to remove the shadow from the button to make it seem more flat. I have this right now: But I want this:
Deena asked 27/2, 2015 at 1:31

3

Solved

I'm using SVG Font Awesome icons in a simple HTML doc, and I want add shadows to them. So I tried doing... <div style="text-shadow: 2px 2px 5px #000"> <i class="fa fa-searc...
Kevyn asked 29/1, 2019 at 17:6

3

Solved

I use the .shadow(color:, radius:, x:, y:) to draw shadows in my application. This is the only way I know of drawing apps in SwiftUI. I use the .sheet(isPresented:, content:) method to pop up a vie...
Terni asked 26/9, 2020 at 12:30

22

Solved

Hi am trying to set a shadow for my fab but my attempts has failed so far i tried setting shadow props but that is for ios only so i tried to play with elevation property but it doesn't look right....
Godless asked 25/12, 2016 at 9:46

4

Solved

Is there a way to remove the drop shadow under the app bar (AppBar class) when using a Scaffold widget in Flutter?
Rebuff asked 27/2, 2018 at 17:56

19

I am currently playing around with CSS3 and trying to achieve a text effect like this (the black blurry inner shadow): But I cannot find a way to create text shadows inside the text. I wonder wh...
Maud asked 22/5, 2010 at 19:34

8

Solved

I have a simple screen with a container about 100 in height and with blue color. I want to add a shadow or elevation at the bottom of the container. This is my code below import 'package:flutter...
Savannasavannah asked 24/6, 2019 at 20:37

3

Solved

For example, I have this view: import SwiftUI struct TarifsScreen: View { var body: some View { GeometryReader { geometry in VStack { VStack { Spacer() Text("Text1") Spacer() ...
Krusche asked 18/3, 2020 at 12:54

3

Solved

Is there a way in SwiftUI to union two shapes so that they cast a unified shadow. I have tried various combinations and modifiers but don't seem to be able to achieve the look I am after. Any insig...
Mutualize asked 6/6, 2020 at 16:4

3

Solved

I'm printing some text on an image with convert and I would like to decorate the text with a black shadow, I tried -blur or -gaussian but I cannot apply to the text, it is applied to the background...
Exultant asked 31/12, 2013 at 13:45

7

I want to apply shadow to the ImageView. When I'm applying shadow to a TextView I'm getting it but same it's not getting to ImageView. How can I solve this problem?
Toxicity asked 2/12, 2011 at 7:39

2

Solved

I am drawing a simple path in iOS 5 with Core Graphics: CGMutablePathRef path = CGPathCreateMutable(); CGPathMoveToPoint( path, NULL, center.x , topMargin ); CGPathAddLineToPoint(path, NULL, cente...
Fernandofernas asked 17/11, 2011 at 16:27

10

Solved

I'm trying to get a shadow below my views, and from what I found online it should be quite simple: shadowOffset: { width: 10, height: 10 }, shadowColor: 'black', shadowOpacity: 1.0, but the probl...
Twicetold asked 4/7, 2017 at 14:30

© 2022 - 2024 — McMap. All rights reserved.