Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
Not sure if this is the correct place to ask this but I have an image that I am trying to add an inner glow to. It all works fine if the glow is light coloured but as soon as I try to make the glow a darker colour then it just vanishes altogether.
Does anyone know why this is or how to add a black inner glow?
The blending modes play with the darkness and lightness as u can say ,
and there are 2 main sections that i usually use
1st) Darken modes (shows dark colors only)
like multiply (it shows only black and dark colors and hides white
2nd) lighten modes (shows white colors only)
like screen (which hides black and darken from the photo and appears white and lighten colors)
check this page it may help you understanding blending modes
Because the "Blend Mode" is set to Screen.
If you want to use Dark color, you can either:
Set the Blend mode to "Multiply"
OR
Use "Inner Shadow" instead of "Inner Glow".
The attached screenshot will clarify even more.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
The tableview isn't stretching all the way vertically in iPhone 6 or iPhone 6 Plus.
Any ideas why this is happening? Thanks!
Storyboard:
UPDATE:
This question was actually really helpful in another thing to check for as to why the tableview was getting cut off: Why is my UITableView cut off in iOS 7?
There's a whole bunch of things you want to check for if your Table View Cell are getting cut off:
- are they pinned to superview or content view?
- are the constraints such that you are cutting off content without knowing it?
- is a navigation bar or tab bar cutting off content?
- check the auto resizing mask or add one if need be settingsTable.autoresizingMask &= ~UIViewAutoresizingFlexibleBottomMargin;
And multiple other reasons. Its tricky, so if you come across this Q+A and need help, just drop a note and will help!
Select your tableView and pres Pin (a litte square icon with lines on the sides down in Xcode). Then add the bottom constraint (click here, it will turn red) and set value 0. Enjoy
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
How I can move and resize a rectangle inside the Canvas horizontally in windows 8. I am trying to create a scale like control in my application. It will work like I can resize the rectangle horizontally and also it is possible to move the rectangle inside the canvas. Based on the rectangle position I will calculate the scale value. But when I try for the same I get stuck with resizing the rectangle(Drag on the left and right side of the rectangle to expand). Please anyone guide me to develop the same. No need to take effort for creating a sample for me. Just guide me, I will do the rest.
It sounds to me like you are trying to allow for two different operations with the same gesture (single point of contact that moves on the surface). The behavior sounds to me like you want the rectangle to resize horizontally when you drag on the far left of right of it and to move around on the canvas when you drag anywhere else on it (please correct me if this is wrong).
I would think that you would want to use the Scale gesture for the resizing and a Translate gesture for the movement. In the past I have used UIElement.ManipulationMode with handlers for the appropriate manipulation events (e.g. ManipulationStarted, ManipulationCompleted, etc). I have also seen some mention of using GestureRecognizer but haven't used it directly myself.
Once you have each action (drag or resize) managed by a distinct gesture you should just be able to update the size of the Rectangle by either directly changing its height and width values or by using a ScaleTransform.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am trying to change the color of my 3D object in Blender. Is there any way to do it run time through actuators?
Thanks in advance
You can use a python script to change the colour. Most likely you want to adjust the diffuse_color property of the material, which is an array of three numbers - [0]=red [1]=green [2]=blue.
While they don't show up in the action editor you can add keyframes to the colour components to create material actions and they will show up in action actuators list to play. To animate a colour you add a keyframe by right-clicking on the colour swatch and selecting Insert keyframe or press I while the mouse is over the colour swatch. Then move to another frame adjust the colour and set another keyframe.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've been putting up with this for probably too long. For some odd reason, when I used the Photoshop CS5 eyedropper tool, it sets the background colour - which is really annoying. I've never experienced this in all my years of using Photoshop. Each time I set a colour, I'm forced to then use the x keyboard shortcut to swap the background/foreground colours.
How do you get the eyedropper tool back to the default setting? (without re-installing :)
Wow - ok it was easy. Go to Window > Color, then ensure the foreground colour is the selected one. There's a really fine, almost un-noticable line around the one that is selected. Mine was set on the background colour.
You can also click on the one you want to set, in the toolbar, then pick the colour. That's what I usually do anyways I think!
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have an image fo this kind:
1000x1000 but only a portion of the image is opaque, think a filled circle on the left, other picels are transparent.
I want to copy/paste only a portion of the image with an area choosed by me:
I drag and drop the mouse so that part will be 400x100 but when i paste i have an image 300x76.
photoshop has trimmed my image, but i want it with the border of the image choosed by me, i want that coordinates.
preparing an image 400x100 blank and copying that image doesn't solve my problem because i must pan the image on the original position.
how can i copy/paste the image without trimming?
thanks
Your problem is because you're asking Photoshop to take into account an area that doesn't exist (it's transparent). You cannot "Copy" an area where nothing exists in Photoshop. Your only option is to place something (a colour) in the corners where the transparency exists, select your area, Copy Merged (using CTRL + SHIFT + C) and then delete the extra colour once you've pasted it.
There's no other way around it.
it depends by which method you are doing copy paste.
i suggest you to use marquee tool.
select marquee tool
drag it to your desired area,now copy and than paste it.,if its not copying the thing press cntrl+shift+c because most of the time,Photoshop memory don't behave dynamically.