示例#1
0
        public ISyncDom Offset(Func <int, Coordinate, Coordinate> function)
        {
            var id = IntCoordsCoordsStorage.Add(function);

            Invoke <object>("LMTOffsetFunc", _selector, id);
            return(this);
        }
示例#2
0
        public async Task <IAsyncDom> Offset(Func <int, Coordinate, Coordinate> function)
        {
            var id = IntCoordsCoordsStorage.Add(function);

            await InvokeAsync <object>("LMTOffsetFunc", _selector, id);

            return(this);
        }