예제 #1
0
        public LuaMapCircle AddCircle(LuaPoint geoLoc, double radius, LuaColor strokeColor, LuaColor fillColor)
        {
            Map map = ((Map)view);

            MapCircle mc = new MapCircle();

            mc.setRadius(radius);
            mc.setStrokeColor(strokeColor.GetColorObject());
            mc.setFillColor(fillColor.GetColorObject());
            mc.setCenter(geoLoc.ToPoint());
            LuaMapCircle lmc = new LuaMapCircle(mc);

            return(lmc);
        }
예제 #2
0
 public void SetFillColor(LuaColor color)
 {
     circle.setFillColor(color.GetColorValue());
 }