public NormalStyleTopicPointer(ITopicConnection connectionType, TopicPointer pointer) { var connector = new TopicConnector(connectionType, pointer.Topic); Path = connector.CreatePathConnection(); Thickness = pointer.Thickness; Brush = pointer.Topic.Brush; }
public override TopicPointerElement CreatePointerElement(ITopicConnection connectionType, TopicPointer pointer) { if (pointer.Topic.Parent == null) return null; TopicPointerElement tp = new NormalStyleTopicPointer(connectionType, pointer); var connector = new TopicConnector(connectionType, pointer.Topic); tp.Path = connector.CreatePathConnection(); tp.Thickness = 5; tp.Brush = pointer.Topic.Brush; return tp; }
public abstract TopicPointerElement CreatePointerElement(ITopicConnection connectionType, TopicPointer pointer);