public G_Pin(G_Component owner, string name) : base(name) { Owner = owner; Direction = Direction.Up; RodBrush = ContentView.GetSBrush(0.2f, 0.2f, 0.2f); RingBrush = ContentView.GetSBrush(0.3f, 0.3f, 0.3f); RingBrush_Pointed = ContentView.GetSBrush(0.1f, 0.33f, 0.5f); OnMouseDownEvent += G_Pin_OnMouseDownEvent; }
public override bool Intersects(G_Component c) { return(ContentBounds.Intersects(c.CoordinateJudger)); }