Questions tagged [layer]

This tag is ambiguous. Consider using more specific tags to better reflect the question's content.

This tag is ambiguous. Consider using more specific tags to better reflect the question's content.

If the question relates to Geographic Information Systems, consider whether the question is better suited to the GIS Stack Exchange.

2129 questions
0
votes
0 answers

UILabel width changes depending Storyboard default View Device

I have UILabel in storyboard and I set it horizontal spacing 0 with a UITextField. I set View device as: iPhone 4s. when I run my Xcode project by printing UILabel's width it prints 170 and when I change the View as Device: to some iPad, it prints…
Bibin KJ
  • 77
  • 8
0
votes
1 answer

No "ground" layer

Just learning unity for game development. Absolute beginner and following a tutorial. There it says that you must add a layer "ground" to the prefabs to let the player know when he is on the ground so that you are not able to start jumping from any…
Paul
  • 1,277
  • 5
  • 28
  • 56
0
votes
1 answer

Using Divs/Layers with Fieldsets/Legends

I am building a form. I've used divs with absolute positioning to determine the layout of my form. I'm now trying to put a formset around each group of divs, problem is that the formset creates a line but it doesn't stretch over all the divs - I'm…
Dave Mackey
  • 4,306
  • 21
  • 78
  • 136
0
votes
1 answer

How to place a graphic rectangle over a table in a UIView

I've got a UITableView which is shown in a UIView - the reason I've done this is that I want to place a solid rectangle over the table (with CGContextSetBlendMode kCGBlendModeMultiply) and continuously change its colour, so I get the effect of the…
SomaMan
  • 4,127
  • 1
  • 34
  • 45
0
votes
1 answer

Move subview of a cell to the front swift

I have a cell with a button on it. When I press the button, I start an animation indicating something is preparing. I do this within the @IBAction function like so: (this is in my custom tableViewCell function). @IBAction func playNowTapped(_…
vrthmy5312
  • 107
  • 3
  • 14
0
votes
1 answer

Using WFS with layers with leaflet 1.0 generates an error

I'm having a problem using Leaflet 1.2.0 with WFS and control Layers, WFS works fine, however when I use it with control.layers (see code bellow) it does not work and it returns an error: Uncaught TypeError: Can not read property 'minZoom' of…
Elton Santos
  • 571
  • 6
  • 32
0
votes
1 answer

A two-layer view rotating around X or Y axis

In order to perform a flip animation with one image changing into another, I have a two-layer UIView (tried also UIView with two subviews - the same problem) rotating around X (or Y) axis in 3D. When rotation angle is below pi/2 the top layer hides…
cyanide
  • 3,885
  • 3
  • 25
  • 33
0
votes
0 answers

How to render a layer from a JSON file in World Wind

I've been trying to set up a way to pull a JSON file from a JMenu File Selector, and while I'm able to create a layer from said file, I'm not sure what to do in order to render it. From what I understand, layers in World Wind render themselves.…
0
votes
1 answer

CALayer - setAnimationDuration Not Working

I am simply trying to create a new CALayer, fade in with animation. However, animation is not working. The layer appears immediately. newLayer = CALayer() newLayer.frame = self.view.frame newLayer.opacity = 0 newLayer.contents =…
Gizmodo
  • 3,151
  • 7
  • 45
  • 92
0
votes
1 answer

When i changed the frame of view, and will the frame of layer change with it?

When i changed the frame of view, and will the frame of layer change with it? Why ?For example . UIView *testView = [[UIView alloc] initWithFrame:CGRectMake(100, 100, 100, 50)]; [self.view addSubview:testView]; NSLog(@"(%f,%f,%f,%f)",…
user9067376
0
votes
1 answer

rightBarButtonItem.enabled removes my custom layer from the uinavigationbar

I've customized my Custom UINavigationBar to show a custom image (actually I crossfade between lots of images on a NSTimer) : - (void) displayImage:(EGOImageView*)anImageView { CABasicAnimation *crossFade = [CABasicAnimation…
0
votes
3 answers

Maya / Python, how to change display layer's colour?

After create a new display layer, how to set colour attribute to that layer? sel = cmds.ls(selection=True,fl=True) coneGroup = cmds.group(empty=True,name="cones_#") dGroup = cmds.createDisplayLayer(coneGroup, n = "cones_cam") cmds.color(dGroup,…
0
votes
0 answers

Photoshop script to delete layer mask of selected layers?

My main goal is to delete layer masks (without applying - also knowing how to apply before removal would be a nice bonus) from all selected Photoshop layers. Something along the lines of app.activeDocument.activeLayer.removeLayerMask(); would…
nollaf126
  • 140
  • 1
  • 14
0
votes
1 answer

What change my layer position

I have a TDHomeCollectionHeaderView, I set zposition=-999 in its initWithFrame.but I found the zPosition is 1 in drawRect.What happened? What change my layer position? TDHomeCollectionHeaderView is a SupplementaryView of UICollectionView. -…
chefish
  • 517
  • 2
  • 7
  • 20
0
votes
4 answers

Removing all Sublayers from UitableViewCell

I have UITableView with 2 expanded Sections. So, when I click on section's header, rows will be hidden: override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { print("Section: \(indexPath.section),…
Xin Lok
  • 496
  • 1
  • 6
  • 21
1 2 3
99
100