コード例 #1
0
 public override void SetDisplayer(Displayer d)
 {
     base.SetDisplayer(d);
     selector = new WaveGateSelector();
     d.Elements.Add(LayerId, selector);
     selector.SelectionFinish += Selector_SelectionFinish;
 }
コード例 #2
0
        protected void DrawObjectUnselected(RenderTarget rt, LiveSectorRing o)
        {
            var geo = WaveGateSelector.GetPathGeometry(rt, o.Center, o.ScrP1, o.ScrP2);

            rt.DrawGeometry(geo, frameBrush, 3);
            rt.FillGeometry(geo, normalFillBrush);
        }