shadow

How to create an Inner Shadow effect using Expression Blend

I'm aware of the DropShadowEffect using blend, but I need the shadow to appear on the inside of the control giving it an internal recessed appearance. Any ideas will be greatly appreciated. ...

CSS Shadows all four sides of div

I want to achieve this in CSS - not CSS3 as I want it to be supported by all browsers ie a div containing content, with the shadows on every side. The top area will be used for navigation. I have searched for tutorials but so far to no avail. Help! ...

Iphone uitabelviewcell layer shadow

Hi I'm trying to add a shadow to a uitabelviewcell using the layer.shadowColor, Offset, Radius but it doesn't seem to affect it in anyway. The table is grouped style. Any ideas why? Here is the code i'm using: cell.layer.shadowColor= [UIColor blackColor].CGColor; cell.layer.shadowRadius = 5.0; cell.layer.shadowOffset = CGSizeMake(10, ...

adding a shadow border to my wrapper

I have a #wrapper, which contains all page content, and I'd like to place another div around it with a shadow border, #shadowwrap. I've been staring at this stuff for way to long today, and my brain's stuck... #shadowwrap { background:url("images/shadowborder.png") repeat-y center; background-color:transparent; max-width:10...

CSS Menu Shadow Problem

Hello, please take a look at the blue menu bar at the top of http://www.animefushigi.com Home | Latest Episodes | etc... If you look into the page source for this menu, I have to list each menu TWICE for it to work properly, else the text of the menu is very light and there is no seperator or hover image. This is how my Theme works. ...

How can I make a flash as3 drop shadow overlap something else?

So I am porting a game I started in html canvas to flash as3. In this game there is a tank. This tank has a body and a turret. It can rotate 360 degrees and move foward and backwards and swivel it's turret 360 degrees. The tank base and the turret are seperate animated images. I have set it up so that there is a tank movieclip and a t...

Android Drop Shadow on View

I have done some extensive searching for code examples on this but cannot find anything. In particular, I am looking to add a shadow to a png drawable I am using in an ImageView. This png drawable is a rounded rect with transparent corners. Can somebody please provide a code example of how to add a decent drop shadow to a view either...

How to prevent Android's drawBitmap from only drawing black images?

As per the original question, The end result is a rounded-rect png in an ImageView with a natural looking drop shadow. I have the shadow working, but when it draws, it makes the entire image black. How can I prevent the original image (definitely not black) from being black when adding the shadow? BlurMaskFilter blurFilter = new...

CSS problem with box shadow and floating box

I have two divs floating next to each other, with class name div1 and div2. I use box-shadow to get a nice shadow on both divs. The problem is that I want the shadow from div1 to lay over div2, to get the feeling that div2 is sticking out from behind div1. Now I get the shadow from div2 to be over div1 instead. Hope you understand my pro...

Add a shadow to a masked image

Hi there, I'm currently creating irregular images and I'd like to add a shadow to it programmatically : 1) load image (png file) 2) load mask (png file) 3) mask image with mask : output is an UIImage 4) add shadow to the irregular image (not squared nor circle) ...?? how do i do point 4 : should I 1) copy the current image 2) th...

What algorithms are out there for detecting lights and shadows and their parameters?

So I have picture (not the best one) I want to detect where the lights come from and what types of lights are they. What algorithm\framework can do such things with static images? I mentioned shadows because in general if you can separate a shadow from a surface than you can probably determine light type and other its parameters. I me...

menuBar submenu shaddow

How to disable the shadow on submenu in mx:menuBar component? ...

Drawing shadow with Quartz is slow on iPhone & iPad. Another way?

I was pretty excited when I found out just how easy it is to add shadows to my UIViews on the iPhone/iPad. Just add the framework in Xcode, add the import to the top of the file: #import <QuartzCore/QuartzCore.h> Then later: self.contentView.layer.shadowRadius = 3.0; self.contentView.layer.shadowOffset = CGSizeMake(-2.0, -3.0); self...

Why masksToBounds = YES prevents CALayer shadow?

With the following snippet, I'm adding a drop shadow effect to one my UIView. Which works pretty well. But as soon as I set the view's masksToBounds property to YES. The drop shadow effect isn't rendered any more. self.myView.layer.shadowColor = [[UIColor blackColor] CGColor]; self.myView.layer.shadowOpacity = 1.0; self.myView.layer.sha...

Beamer: How to remove shadow under the title on a given frame?

On one particular frame I would like to remove the shadow that the theme I am using inserts under the title. The reason is that with a black background (which I use only on this frame), it looks quite ugly. Do you have any idea can I do that? I've managed to remove the shadow under a block environment, thanks to: \setbeamertemplate{...

How do I indent without hiding parts of shadows?

I have content that I'd like to align vertically, so I'm using this simple class to indent: .indent-1 { margin-left: 144px; overflow: hidden; } This works fine in most cases, but if I have a box with a drop shadow within the indented content, the overlfow: hidden hides part of the shadow. Is there a way to accomplish this i...

How can I add a shadow/fade for my views?

The ListView has a nice fade on the top/bottom. I have a ListView in the top half of my app, and then a ViewFlipper on the bottom. Is it possible to add a fade/shadow to the top of the ViewFlipper? This would look nice. ...

[SOLVED][AS3] Draw shadow without filter on Graphics object.

I have a complex graphics data on a sprite or a shape (no matter which is exactly). But I want to draw shadow (inner too) for one Rect ( [10, 10, 240, 25] for example) or another path. /// code before grObj.graphics.drawRect( 10, 10, 240, 25); /// -> draw inner shadow on this objcect somehow /// code after Is it possible t...

Text and box drop shadow, rounded corners and gradients with jQuery official plugin

Hi! Is there any official jQuery plugin (like jQuery UI) that allows those effects in all browsers? Or at least IE8, Chome, FF and Opera. I don't want user plugins as those often lack support in the long term, are uncompatible with one another or lack consistent quality and optimization. I saw some "Overlay and Shadow Classes" in the j...

WPF Aero window without shadow

I am aware of the following question: http://stackoverflow.com/questions/3696838/i-want-to-disable-the-shadow-effect-on-a-specific-aero-window However, I still need the DWM blur/reflections behind my Aero window, so I can't create a custom transparent one. How would I approach that? I could handle the reflections by myself, but I don't ...