public override void SetDisplayer(Displayer d) { base.SetDisplayer(d); selector = new WaveGateSelector(); d.Elements.Add(LayerId, selector); selector.SelectionFinish += Selector_SelectionFinish; }
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); }