ShapeDrawable

Problems with Canvas, OpenGL, etc...

ShapeDrawable

Postby Schermvlieger » Sun Oct 31, 2010 1:39 pm

Hi guys,

Not sure if this belongs here, or in other, or in view/layout problems...

I want to display a shape on the screen that looks like a window: everything outside the shape is dimmed (for instance black with an alpha value of 128) and inside the shape the alpha value is 0. This shape will be drawn on top of a bitmap, in a canvas (using surfaceholder). I need to be able to scale and pan the shape as well.

What would be the most efficient way to do this?
Schermvlieger
Senior Developer
Senior Developer
 
Posts: 159
Joined: Fri Feb 26, 2010 1:37 pm

Top

Re: ShapeDrawable

Postby Schermvlieger » Wed Nov 03, 2010 6:29 pm

Nobody has an idea?
Schermvlieger
Senior Developer
Senior Developer
 
Posts: 159
Joined: Fri Feb 26, 2010 1:37 pm

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 2 guests