| Quintiq file version 2.0 | 
| #parent: CustomDrawRC/CustomDrawDataLayerExcludedOperationInput | 
| Response OnDrawObject ( | 
|   OperationInput object | 
| ) id:Response_CustomDrawRC_CustomDrawDataLayerExcludedOperationInput_OnDrawObject | 
| { | 
|   #keys: '[139394.0.1292648205]' | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_WebCustomDrawDataLayer_OnDrawObject' | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       //Draw exclusion indicator | 
|        | 
|       //Initialize borders | 
|       surface.Pen().Style( PenSpecification::StyleSolid() ); | 
|       surface.Pen().Width( 1 ) | 
|       surface.Pen().Color( ColorScheme.RoutingConfigurator_RoutingOutline() ); | 
|          | 
|       //Initialize borders | 
|       if( object.IsElementOfInputGroup() ) | 
|       { | 
|         diameter := minvalue( region.BoundingRect().Width(), region.BoundingRect().Height() ); | 
|         left := [Number]( region.BoundingRect().Width()/2 ) - [Number]( diameter/2 ); | 
|          | 
|         circle := Shape::Circle( left, region.BoundingRect().Top(), diameter ) | 
|         surface.Fill( circle, Color::Gray() ); | 
|         surface.Circle( left, region.BoundingRect().Top(), diameter, surface.Pen().Color() ); | 
|         | 
|       } | 
|       else | 
|       { | 
|         surface.Fill( region.Shape(), Color::Gray() ); | 
|         surface.Draw( region.Shape() ); | 
|       } | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |