public virtual ITool Build(FScene scene, List <SceneObject> targets) { MultiPointTool tool = new_tool(scene, targets[0]); configure_tool(tool); return(tool); }
protected virtual void configure_tool(MultiPointTool tool) { tool.DefaultIndicatorSize = DefaultIndicatorSizeScene; if (IndicatorBuilder != null) { tool.IndicatorBuilder = IndicatorBuilder; } if (CustomHitTestF != null) { tool.PointHitTestF = CustomHitTestF; } }
public MultiPointTool_2DBehavior(FContext s, MultiPointTool tool) { context = s; this.tool = tool; }