public DraggingLayer()
 {
     this.Style = new ImageStyle
     {
         BitmapId    = BitmapResources.GetBitmapIdForEmbeddedResourceRelative(ImagePath),
         SymbolScale = Scale
     };
 }
Example #2
0
 public AttractorDraggingFeature(AttractorObject attractor) : base(attractor)
 {
     Geometry = attractor.Position;
     Styles.Add(new ImageStyle
     {
         BitmapId    = BitmapResources.GetBitmapIdForEmbeddedResourceRelative("Dragging.png"),
         SymbolScale = 0.8f
     });
 }