Exemple #1
0
        public virtual ITool Build(FScene scene, List <SceneObject> targets)
        {
            MultiPointTool tool = new_tool(scene, targets[0]);

            configure_tool(tool);
            return(tool);
        }
Exemple #2
0
 protected virtual void configure_tool(MultiPointTool tool)
 {
     tool.DefaultIndicatorSize = DefaultIndicatorSizeScene;
     if (IndicatorBuilder != null)
     {
         tool.IndicatorBuilder = IndicatorBuilder;
     }
     if (CustomHitTestF != null)
     {
         tool.PointHitTestF = CustomHitTestF;
     }
 }
Exemple #3
0
 public MultiPointTool_2DBehavior(FContext s, MultiPointTool tool)
 {
     context   = s;
     this.tool = tool;
 }