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