Questions tagged [opacitymask]

59 questions
10
votes
6 answers

"Disabling" an HTML table with Javascript

I've seen this done in a lot of sites recently, but can't seem to track one down. Essentially I want to "disable" an entire panel (that's in the form on an HTML table) when a button is clicked. By disable I mean I don't want the form elements…
Blair Jones
  • 311
  • 3
  • 4
  • 8
9
votes
1 answer

C# WPF grab screenshot with SnippingTool effect

I'm trying to integrate a screenshot grabbing feature in my WPF app and I'd like it to look like snipping tool. So far I've managed accomplish something similar by creating a fullscreen window (with a canvas) with opacity set to 0.5 and dark…
biasedbit
  • 2,860
  • 4
  • 30
  • 47
8
votes
3 answers

Clipping a border in WPF

I need to create a round ProgressBar template. ControlTemplate :
eran otzap
  • 12,293
  • 20
  • 84
  • 139
5
votes
2 answers

“negative” text in css?

i was wondering if it was somehow possible to create an effect as shown in the attached picture with simple css. What would be the next best alternative? Thanks in advance!
einUsername
  • 1,569
  • 2
  • 15
  • 26
5
votes
2 answers

Google Map V3 .png groundoverlay opacity

I have created my first Google Map API with png overlays (thanks to @andresf for assistance). This map has multiple png ground overlays adjacent to each other and can be seen at http://www.earthstation.mobi/coverage.htm Question: How do I set the…
4
votes
1 answer

Invert OpacityMask

Consider the following piece of Xaml
Fredrik Hedblad
  • 83,499
  • 23
  • 264
  • 266
4
votes
3 answers

Animation: Making an image gradiently appear from side to side (in opacity)(so called "soft-wipe" effect)

Sorry if the title is confusing. I've tried my best to compose it, if you are going to understand what I am asking, feel free to suggest better title in comment. The animation I am trying to make can easily be done by video editors, but looks to me…
shenkwen
  • 3,536
  • 5
  • 45
  • 85
2
votes
1 answer

QML Circular Gauge

I'm currently creating a virtual dashboard and i would like to get type of progress bar behind needle as in this link: https://forum.qt.io/topic/89307/qml-circular-gauge-styling-needle-trailing-colour-glow . So far, I've only done needle progress…
Paul
  • 35
  • 1
  • 6
2
votes
1 answer

How to merge an image into the background along two edges?

I'm trying to create a stylish effect in my app that allows an image to sit in the top right hand corner with the left and bottom edges merging into the background colour using Image.OpacityMask. Something like: This could be done using the…
ChrisUK
  • 547
  • 8
  • 17
2
votes
1 answer

Understanding the effective area of an OpacityMask

I'm using WPF opacitymask to 'cut out' the shape of an area that's animated. I noticed that by default, the opacitymask applies only to the content of a panel rather than to the whole panel. Setting the background to transparent is a working…
Daan Terra
  • 21
  • 2
2
votes
1 answer

WPF GroupBox Header Customization

I have edited the standard GroupBox template as I wanted to customize it. Apart from other customizations, I wanted the GroupBox header to be Horizantally aligned in the Center instead of Left or Right. The alignment of the Header is not a problem…
Wajahat Khan
  • 23
  • 1
  • 3
2
votes
2 answers

Opposite for OpacityMask

It masks the source item with another item, so the source is visible only where the mask is opaque. How to make source visible only where the mask is transparent? Currently it's done with a shader, but I want to replace that. Can't invert the mask,…
Velkan
  • 7,067
  • 6
  • 43
  • 87
2
votes
1 answer

Using a control for OpacityMask

I'm writing an application. I'd like to have a tutorial mode where the screen of the application darkens and single features of the application are allowed to shine through. On my actual app, I have many datagrids and listboxes so I thought the…
Jon Dosmann
  • 667
  • 7
  • 20
2
votes
1 answer

WPF DataTrigger with OpacityMask

i´m using Mahapps.Metro and want to change an icon depending on an Property. Here is the Mahapps sample for their Icons Setting only the Backgroundcolor("Fill") of the rectangle everything works fine. As soon as the OpacityMask is set the complete…
R00st3r
  • 954
  • 1
  • 10
  • 31
2
votes
2 answers

C#, WPF - VisualBrush and OpacityMask

I'm needing to create a UserControl, that has a portion of the control's background transparent. The transparent portion is cutout in the shape of a Border with CornerRadius of 2--it's required because of the design. Here is my code that is not…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
1
2 3 4