Top "Mask" questions

An image mask is a bitmap that specifies an area to paint, but not the color.

Mask US phone number string with JavaScript

I need regular express for US Phone Number format.I want to replace the phone number string into below US …

javascript regex mask phone-number
Can you overlay a transparent css3 gradient over a background image?

I'm trying to put a css3 gradient over the top of a background image. Using the code below puts a …

css gradient mask
Select elements of numpy array via boolean mask array

I have a boolean mask array a of length n: a = np.array([True, True, True, False, False]) I have …

python numpy indexing boolean mask
Masked Input Using EditText Widget in Android

Is there a way I can specify an input mask to the EditText control in Android? I want be able …

android mask android-edittext
How to define TextBox input restrictions?

How can I restrict TextBox to accept only capital letters, or for example digits, or forbid to put any special …

wpf textbox wpf-controls mask input-filtering
Remove literals from input mask after form submit?

this question has already been asked but the solutions where not clear. Im using Josh Bush's MaskedInput plugin for jQuery …

jquery plugins mask maskedinput
How do I get masked date in model from input in angular using ui-mask?

I have a view which requires that the user enter their birthdate into a textbox. I am using the mask …

angularjs mask input-mask
Applying loadMask() to a single element in extjs?

How to apply loadMask to only one element, and not the whole browser width-height?default here, only one element is …

load extjs4 extjs mask
How to apply a disc shaped mask to a NumPy array?

I have an array like this: >>> np.ones((8,8)) array([[ 1., 1., 1., 1., 1., 1., 1., 1.], [ 1., 1., 1., 1., 1., 1., 1., 1.], [ 1., 1., 1., 1., 1., 1., 1., 1.], [ 1., 1., 1., 1., 1., 1., 1., 1.], [ 1., 1., 1., 1., 1., 1., 1., 1.], [ 1., 1., 1., 1., 1., 1., 1., 1.], [ 1., 1., 1., 1., 1., 1., 1., 1.], [ 1., 1., 1., 1., 1., 1., 1., 1.]]) I'm creating a disc shaped mask with radius 3 …

python arrays numpy mask
CABasicAnimation - transform scale keep in center

Trying to animatie an ellipse masked on a UIView to be scale transformed remaining in the center position. I have …

ios core-animation core-graphics mask catransform3d