예제 #1
0
 public void MapMethodsToService(ScriptService service)
 {
     service.MapMethod("Reset", Reset);
     service.MapMethod("Clear", Clear);
     service.MapMethod("MoveTo", PenMoveTo);
     service.MapMethod("DrawTo", PenDrawTo);
     service.MapMethod("SetOutlineColour", SetOutlineColour);
     service.MapMethod("SetFillColour", SetFillColour);
     service.MapMethod("ToggleFill", ToggleFill);
     service.MapMethod("CreateRect", CreateRect);
     service.MapMethod("CreateEllipse", CreateEllipse);
     service.MapMethod("CreateLine", CreateLine);
 }