problem about layer-Collection of common programming errors
MrTelly
wpf controls commercial codeplex layer
I’m in need of a WPF layer control that does the following1) Have multiple layers of content on top of each other.2) Ability to turn layers on/off at design and runtime, ie we need a UI maybe something like a tabbed control3) Move layers up/down the stack4) Change opacity for layersNow I know all of the above is possible in Xaml/WPF. I’ve coded up a simple version using a grid, that has mutiple cells at design time, 1 cell = 1 layer, and only a single cell at runtime, all the cells are merged i
Jujuba o_O
actionscript-3 flash layer addchild displayobject
I was trying to access the layers by their names dynamically via AS3. But then I just found out there’s nothing on layers in AS3 API (or I didn’t search enough).If that’s true, naming layers at IDE is totally meaningless to the code?What happens? Do they get converted to a pile of indexed DisplayObjects at runtime?Do I always have to reference a child’s index position to stack (urgh) a new child in between?Without those named layers it all seems disorganized to me… I just hope I’m equivocated.
scary alien
android drawable layer resource-id
The “solution #2 (dynamic)” in this question/answer post: overlay two images in android to set an imageviewis very close to what I want to do, which is to dynamically create a layer-list (for a status bar notification icon, I want to build-up my icon in layers), but the icon assignment in the notification API requires a resource ID (which I want to call from a service). I cannot figure-out how to build a dynamically build a layer-list without building hundreds of layer-list .xml files (for the v
Dhara
iphone xcode uiimageview uiimage layer
I am having trouble understanding how layering is performed within Xcode. I have a .xib with a view, that view has 6 UIImageView ‘s which each contain a different image. I have created IBOutlets for each of these so I can change the image at runtime. I now want to change the order the UIImageViews are drawn at runtime, so imageA at the back is now drawn on top of everything else. How can I change the layer order? I originally tried removing all the subviews and using [self.view insertSubview: at
Ruben Zilibowitz
ios performance scrolling draw layer
I have a class that inherits from UIScrollView. The drawRect function uses a CGLayer to cache the drawing to allow for faster scrolling. Unfortunately the code is crashing every time I try to scroll the view.As soon as a click and drag in the iOS simulator it crashes with errors such as the following:2012-08-04 19:11:09.687 scrolllayertest[3197:c07] -[__NSCFTypeanimationKeys]: unrecognized selector sent to instance 0x682aa202012-08-04 19:11:09.689 scrolllayertest[3197:c07] * Terminating appdue t
Remy
visual-studio-2012 crash mapping layer modeling
I have a web application that consists of both ASP Class and ASP.NET pages. This web application is under TFS source control I created another modeling project that is currently NOT under source control. In the modeling project, I created a Layer Diagram. Then I added the web application as a project to this solution. I then opened Architecture Explorer and used solution view to view the web application files. I filter by .aspx and attempted to drag .aspx(s) to one of the layers on the diagram
Sturm
javascript runtime-error layer indesign extendscript
I should win some sort of award for this one.I have a (very large) script running in InDesign that, at one point, places a Library asset onto the page, then moves it to a certain layer. This script runs just fine on all of our computers here, but only when there are no other documents open in InDesign at the time.If another document is open, then an error shows up when script is trying to move the placed asset onto another layer:JavaScript Error!Error Number: 54Error String: Uncaught JavaScript
Jasper Fioole
iphone ios uiview sdk layer
I drew a few lines in the layer property of my UIView. But is there a method to clean up all the lines I drew?I want to clear everything that is drawn on layer of my view.I draw a line with the following code:- (void)drawLine :(UIView *)drawInView :(CGPoint)startPosition :(CGPoint)endPosition {//draw the linelinePath = CGPathCreateMutable();lineShape = [CAShapeLayer layer];lineShape.lineWidth = 1.0f;lineShape.lineCap = kCALineCapRound;;lineShape.strokeColor = [[UIColor whiteColor] CGColor];CGPat
tetris11
html5 html5-canvas draw layer kineticjs
I’m trying to treat layers as pages — i.e. I draw on one page, then turn the page and draw on another, each time storing the previous page in case the user goes back to it.In my mind this translates as: Create current_layer global pointer. Each time newPage() is called, store the old layer in an array, and overwrite the pointer layer_array.push(current_layer); //store old layercurrent_layer = new Kinetic.Layer(); //overwrite with a new New objects are then added to the current_layer which bind
Florian Thürkow
vector openlayers layer
I try to get the latest featureID (e.g. ‘OpenLayers_Feature_Vector_86’) directly after adding the feature to the vectorlayer.I tried to add an eventlistener:eventListeners: {“featuresadded”: function(feature) {alert(feature.fid);} }The feature is added with the following code:vectors.addFeatures(geojson_format.read(featurecollection));Thanks in advance Florian
geocodezip
php google-maps open-source openlayers layer
how to get id which is defined after “type”: “Feature” on feature select.?first i set it as u see. then i try to get this id alert(e.feature.id),it gives me like this OpenLayers.Feature.Vector_2345var featurecollection = { “type”: “FeatureCollection”, “features”: [ <?php for($i=0;$i<$size_of_loop;$i++){ ?>{ “type”: “Feature”,id:”<?php echo $i ?>”, “geometry”: { type: “Polygon”, coordinates: [[
Bill the Lizard
iphone objective-c coordinates layer
I move my UIImageView with layer around the screen. When at some point I’m trying to retrieve x and y coordinates of a moved imageView using imageView.frame.origin.x I receive original coordinates not the new ones after the move. How to get X and Y correctly?Here is my code:UIImageView *imageView = [[UIImageView alloc] initWithFrame:rect]; imageView.animationImages = [NSArray arrayWithArray:imgNameArr]; imageView.animationDuration = 2;imageView.animationRepeatCount = 0;[imageView startAnim
Greg
iphone ios uitextview layer
why can’t I access .layer.borderWidth for this UITextView instance? (code attached)UITextView *v = (UITextView*)[self.view viewWithTag:1]; v.layer.borderWidth = 1; // ERROR Accessing unknown ‘borderWidth’ component of a property
Web site is in building