/* global intellisense */
// jshint unused: false
intellisense.annotate(kendo, {
Class: function() {
///
/// Constructor of kendo.Class
///
}
});
kendo.Class = (function() {
var original = kendo.Class;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo, {
Color: function() {
///
/// Constructor of kendo.Color
///
}
});
kendo.Color = (function() {
var original = kendo.Color;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
diff: function() {
///
///
/// Computes the relative luminance between two colors.
///
/// The relative luminance.
///
},
equals: function() {
///
///
/// Compares two color objects for equality.
///
/// returns true if the two colors are the same. Otherwise, false
///
},
toHSV: function() {
///
///
/// Returns the color in HSV representation. As HSV object, it has the
/// following properties:This does not modify the current object, it creates a new one instead.
///
/// An object with h, s, v and a fields.
///
},
toRGB: function() {
///
///
/// Returns the color in RGB representation. The result has the following
/// properties:This does not modify the current object, it creates a new one instead.
///
/// An object with r, g, b and a fields.
///
},
toBytes: function() {
///
///
/// Returns the color in "Bytes" representation. It has the same properties as
/// RGB, but r, g and b are integers between 0 and 255 instead of floats.This does not modify the current object, it creates a new one instead.
///
/// An object with r, g and b fields.
///
},
toHex: function() {
///
///
/// Returns a string in "FF0000" form (without a leading #).
///
/// The color in hex notation.
///
},
toCss: function() {
///
///
/// Like toHex, but includes a leading #.
///
/// The color in CSS notation.
///
},
toCssRgba: function() {
///
///
/// Returns the color in RGBA notation (includes the opacity).
///
/// The color in RGBA notation.
///
},
toDisplay: function() {
///
///
/// Returns the color in the best notation supported by the current browser. In
/// IE < 9 this returns the #FF0000 form; in all other browsers it returns the
/// RGBA form.
///
/// The color in the best notation supported by the current browser.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo, {
Layout: function() {
///
/// Constructor of kendo.Layout
///
}
});
kendo.Layout = (function() {
var original = kendo.Layout;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
showIn: function(container,view,transitionClass) {
///
///
/// Renders the View element in the element specified by the selector
///
/// The selector of the container in which the view element will be appended.
/// The view instance that will be rendered.
/// Optional. If provided, the new view will replace the current one with a replace effect.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo, {
Observable: function() {
///
/// Constructor of kendo.Observable
///
}
});
kendo.Observable = (function() {
var original = kendo.Observable;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(eventName,handler) {
///
///
/// Attaches a handler to an event.
///
/// The name of the event.
/// A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data.
///
},
one: function(eventName,handler) {
///
///
/// Attaches a handler to an event. The handler is executed only once.
///
/// The name of the event.
/// A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data.
///
},
trigger: function(eventName,eventData) {
///
///
/// Executes all handlers attached to the given event.
///
/// The name of the event to trigger.
/// Optional event data which will be passed as an argument to the event handlers.
///
},
unbind: function(eventName,handler) {
///
///
/// Remove a previously attached event handler.
///
/// The name of the event. If not specified all handlers of all events will be removed.
/// The handler which should no longer be executed. If not specified all handlers listening to that event will be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo, {
Router: function() {
///
/// Constructor of kendo.Router
///
}
});
kendo.Router = (function() {
var original = kendo.Router;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
start: function() {
///
///
/// Activates the router binding to the URL changes.
///
///
},
route: function(route,callback) {
///
///
///
///
/// The route definition.
/// The callback to be executed when the route is matched.
///
},
navigate: function(route,silent) {
///
///
/// Navigates to the given route.
///
/// The route to navigate to.
/// If set to true, the router callbacks will not be called.
///
},
replace: function(route,silent) {
///
///
/// Navigates to the given route, replacing the current view in the history stack (like window.history.replaceState or location.replace work).
///
/// The route to navigate to.
/// If set to true, the router callbacks will not be called.
///
},
destroy: function() {
///
///
/// Unbinds the router instance listeners from the URL fragment part changes.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo, {
View: function() {
///
/// Constructor of kendo.View
///
}
});
kendo.View = (function() {
var original = kendo.View;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Removes the View element from the DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
///
},
render: function(container) {
///
///
/// Renders the view contents. Accepts a jQuery selector (or jQuery object) to which the contents will be appended.
/// Alternatively, the render method can be called without parameters in order to retrieve the View element for manual insertion/further manipulation.
///
/// (optional) the element in which the view element will be appended.
/// the view element.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
Binder: function() {
///
/// Constructor of kendo.data.Binder
///
}
});
kendo.data.Binder = (function() {
var original = kendo.data.Binder;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
refresh: function() {
///
///
/// Invoked by the Kendo UI MVVM framework when the bound view model value is changed. The binder should update the UI (HTML element or Kendo UI widget) to reflect the view model change.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
DataSource: function() {
///
/// Constructor of kendo.data.DataSource
///
}
});
kendo.data.DataSource = (function() {
var original = kendo.data.DataSource;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
add: function(model) {
///
///
/// Appends a data item to the data source.
///
/// Either a kendo.data.Model instance or JavaScript object containing the data item field values.
/// the data item which is inserted.
///
},
aggregate: function(value) {
///
///
/// Gets or sets the aggregate configuration.
///
/// The aggregate configuration. Accepts the same values as the aggregate option.
/// the current aggregate configuration.
///
},
aggregates: function() {
///
///
/// Returns the aggregate results.
///
/// the aggregate results. There is a key for every aggregated field.
///
},
at: function(index) {
///
///
/// Returns the data item at the specified index. The index is zero-based.
///
/// The zero-based index of the data item.
/// the data item at the specified index. Returns undefined if a data item is not found at the specified index.Returns a kendo.data.Model instance if the schema.model option is set.
///
},
cancelChanges: function(model) {
///
///
/// Cancels any pending changes in the data source. Deleted data items are restored, new data items are removed and updated data items are restored to their initial state.
///
/// The optional data item (model). If specified only the changes of this data item will be discarded. If omitted all changes will be discarded.
///
},
data: function(value) {
///
///
/// Gets or sets the data items of the data source.If the data source is bound to a remote service (via the transport option) the data method will return the service response.
/// Every item from the response is wrapped in a kendo.data.ObservableObject or kendo.data.Model (if the schema.model option is set).If the data source is bound to a JavaScript array (via the data option) the data method will return the items of that array.
/// Every item from the array is wrapped in a kendo.data.ObservableObject or kendo.data.Model (if the schema.model option is set).If the data source is grouped (via the group option or the group method) and the serverGrouping is set to true
/// the data method will return the group items.Compare with the view method, which will return the data items that correspond to the current page, filter, sort and group configuration.
///
/// The data items which will replace the current ones in the data source. If omitted the current data items will be returned.
/// the data items of the data source. Returns empty array if the data source hasn't been populated with data items via the read, fetch or query methods.
///
},
fetch: function(callback) {
///
///
/// Reads the data items from a remote service (if the transport option is set) or from a JavaScript array (if the data option is set).
///
/// The optional function which is executed when the remote request is finished. The function context (available via the this keyword) will be set to the data source instance.
/// A promise that will be resolved when the data has been loaded, or rejected if an HTTP error occurs.
///
},
filter: function(value) {
///
///
/// Gets or sets the filter configuration.
///
/// The filter configuration. Accepts the same values as the filter option (check there for more examples).
/// the current filter configuration.
///
},
get: function(id) {
///
///
/// Gets the data item (model) with the specified id.
///
/// The id of the model to look for.
/// the model instance. Returns undefined if a model with the specified id is not found.
///
},
getByUid: function(uid) {
///
///
/// Gets the data item (model) with the specified uid.
///
/// The uid of the model to look for.
/// the model instance. Returns undefined if a model with the specified uid is not found.
///
},
group: function(value) {
///
///
/// Gets or sets the grouping configuration.
///
/// The grouping configuration. Accepts the same values as the group option.
/// the current grouping configuration.
///
},
hasChanges: function() {
///
///
/// Checks if the data items have changed.
///
/// returns true if the data items have changed. Otherwise, false.
///
},
indexOf: function(dataItem) {
///
///
/// Gets the index of the specified data item.
///
/// The target data item.
/// the index of the specified data item. Returns -1 if the data item is not found.
///
},
insert: function(index,model) {
///
///
/// Inserts a data item in the data source at the specified index.
///
/// The zero-based index at which the data item will be inserted.
/// Either a kendo.data.Model instance or JavaScript object containing the field values.
/// the data item which is inserted.
///
},
online: function(value) {
///
///
/// Gets or sets the online state of the data source.
///
/// The online state - true for online, false for offline.
/// the current online state - true if online; otherwise false.
///
},
offlineData: function(data) {
///
///
/// Gets or sets the offline state of the data source.
///
/// The array of data items that replace the current offline state of the data source.
/// array of JavaScript objects that represent the data items. Changed data items have a __state__ field attached. That field indicates the type of change: "create", "update" or "destroy". Unmodified data items don't have a __state__ field.
///
},
page: function(page) {
///
///
/// Gets or sets the current page.
///
/// The new page.
/// the current page.
///
},
pageSize: function(size) {
///
///
/// Gets or sets the current page size.
///
/// The new page size.
/// the current page size.
///
},
pushCreate: function(items) {
///
///
/// Appends the specified data item(s) to the data source without marking them as "new". The data source will not sync data items appended via pushCreate.
///
/// The data item or data items to append to the data source.
///
},
pushDestroy: function(items) {
///
///
/// Removes the specified data item(s) from the data source without marking them as "removed". The data source will not sync data items appended via pushDestroy.
///
/// The data item or data items to remove from the data source.
///
},
pushUpdate: function(items) {
///
///
/// Updates the specified data item(s) without marking them as "dirty". The data source will not sync data items appended via pushUpdate.
/// If the data items are not found (using schema.model.id) they will be appended.
///
/// The data item or data items to update.
///
},
query: function(options) {
///
///
/// Executes the specified query over the data items. Makes a HTTP request if bound to a remote service.This method is useful when you need to modify several parameters of the data request at the same time (e.g. filtering and sorting).
/// If you execute filter() and then sort(), the DataSource will make two separate requests. With query(), it will make one request.
///
/// The query options which should be applied.
/// A promise that will be resolved when the data has been loaded, or rejected if an HTTP error occurs.
///
},
read: function(data) {
///
///
/// Reads data items from a remote service (if the transport option is set) or from a JavaScript array (if the data option is set).
///
/// Optional data to pass to the remote service. If you need to filter, it is better to use the filter() method or the query() method with a filter parameter.
/// A promise that will be resolved when the data has been loaded, or rejected if an HTTP error occurs.
///
},
remove: function(model) {
///
///
/// Removes the specified data item from the data source.
///
/// The data item which should be removed.
///
},
sort: function(value) {
///
///
/// Gets or sets the sort order which will be applied over the data items.
///
/// The sort configuration. Accepts the same values as the sort option.
/// the current sort configuration.
///
},
sync: function() {
///
///
/// Saves any data item changes.The sync method will request the remote service if:
///
/// A promise that will be resolved when all sync requests have finished succesfully, or rejected if any single request fails.
///
},
total: function() {
///
///
/// Gets the total number of data items. Uses schema.total if the transport.read option is set.
///
/// the total number of data items. Returns the length of the array returned by the data method if schema.total or transport.read are not set.Returns 0 if the data source hasn't been populated with data items via the read, fetch or query methods.
///
},
totalPages: function() {
///
///
/// Gets the number of available pages.
///
/// the available pages.
///
},
view: function() {
///
///
/// Returns the data items which correspond to the current page, filter, sort and group configuration.
/// Compare with the data method, which will return data items from all pages, if local data binding and paging are used.To ensure that data is available this method should be used within the change event handler or the fetch method.
///
/// the data items. Returns groups if the data items are grouped (via the group option or the group method).
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
GanttDataSource: function() {
///
/// Constructor of kendo.data.GanttDataSource
///
}
});
kendo.data.GanttDataSource = (function() {
var original = kendo.data.GanttDataSource;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
taskAllChildren: function(task) {
///
///
/// Returns a list of all child tasks. The search is recursive.
///
/// The parent task. If this parameter is not specified, all gantt tasks will be returned.
/// the list of all child tasks.
///
},
taskChildren: function(task) {
///
///
/// Returns a list of all direct child tasks.
///
/// The parent task. If this parameter is not specified, all root level tasks will be returned.
/// the list of all direct child tasks.
///
},
taskLevel: function(task) {
///
///
/// Returns the level of the task in the hierrarchy. 0 for root level taks.
///
/// The reference task.
/// the level of the task in the hierarchy.
///
},
taskParent: function(task) {
///
///
/// Returns the parent task of a certain task.
///
/// The reference task.
/// the parent task.
///
},
taskSiblings: function(task) {
///
///
/// Returns a list of all tasks that have the same parent.
///
/// The reference task.
/// the list of all tasks with the same parent as the parameter task. If the parameter task is a root level task, all root level tasks are returned.
///
},
taskTree: function(task) {
///
///
/// Returns a list of all child gantt tasks, ordered by their hierarchical index (Depth-First). a parent is collapsed, it's children are not returned.
///
/// The reference task. If this parameter is specified, the result will be all child tasks of this task, ordered by their hierarchical index.
/// the list of all child gantt tasks, ordered by their hierarchical index (Depth-First).
///
},
update: function(task,taskInfo) {
///
///
/// Updates a gantt task.
///
/// The task to be updated.
/// The new values, which will be used to update the task.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
GanttDependency: function() {
///
/// Constructor of kendo.data.GanttDependency
///
}
});
kendo.data.GanttDependency = (function() {
var original = kendo.data.GanttDependency;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
GanttDependencyDataSource: function() {
///
/// Constructor of kendo.data.GanttDependencyDataSource
///
}
});
kendo.data.GanttDependencyDataSource = (function() {
var original = kendo.data.GanttDependencyDataSource;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
dependencies: function(id) {
///
///
/// Returns a list of all dependencies for a certain task.
///
/// The id of the gantt task, based on which the dependencies are filtered.
/// the list of all task dependencies.
///
},
predecessors: function(id) {
///
///
/// Returns a list of all predecessor dependencies for a certain task.
///
/// The id of the gantt task, based on which the dependencies are filtered.
/// the list of all task predecessors.
///
},
successors: function(id) {
///
///
/// Returns a list of all successor dependencies for a certain task.
///
/// The id of the gantt task, based on which the dependencies are filtered.
/// the list of all task successors.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
GanttTask: function() {
///
/// Constructor of kendo.data.GanttTask
///
}
});
kendo.data.GanttTask = (function() {
var original = kendo.data.GanttTask;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
duration: function() {
///
///
/// Returns the gantt task length in milliseconds.
///
/// the length of the task.
///
},
isMilestone: function() {
///
///
/// Checks whether the event has zero duration.
///
/// return true if the task start is equal to the task end.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
HierarchicalDataSource: function() {
///
/// Constructor of kendo.data.HierarchicalDataSource
///
}
});
kendo.data.HierarchicalDataSource = (function() {
var original = kendo.data.HierarchicalDataSource;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
Model: function() {
///
/// Constructor of kendo.data.Model
///
}
});
kendo.data.Model = (function() {
var original = kendo.data.Model;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function() {
///
///
/// Attaches a handler to an event. Examples and more info can be found in the bind section of the kendo.Observable API reference.
///
///
},
editable: function(field) {
///
///
/// Determines if the specified field is editable or not.
///
/// The field to check.
/// true if the field is editable; false otherwise.
///
},
get: function() {
///
///
/// Gets the value of the specified field. Inherited from kendo.data.ObservableObject. Examples and more info can be found in the get section of the
/// ObservableObject API reference.
///
///
},
isNew: function() {
///
///
/// Checks if the Model is new or not. The id field is used to determine if a model instance is new or existing one.
/// If the value of the field specified is equal to the default value (specified through the fields configuration) the model is considered as new.
///
/// true if the model is new; false otherwise.
///
},
set: function() {
///
///
/// Sets the value of the specified field. Inherited from kendo.data.ObservableObject. Examples and more info can be found in the set section of the
/// ObservableObject API reference.
///
///
},
toJSON: function() {
///
///
/// Creates a plain JavaScript object which contains all fields of the Model. Inherited from kendo.data.ObservableObject. Examples and more info can be found in the toJSON section of the
/// ObservableObject API reference.
///
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
Node: function() {
///
/// Constructor of kendo.data.Node
///
}
});
kendo.data.Node = (function() {
var original = kendo.data.Node;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
append: function(model) {
///
///
/// Appends a new item to the children data source, and initializes it if necessary.
///
/// The data for the new item
///
},
level: function() {
///
///
/// Gets the current nesting level of the node within the data source.
///
/// the zero based level of the node.
///
},
load: function() {
///
///
/// Loads the child nodes in the child data source, supplying the id of the Node to the request.
///
///
},
loaded: function() {
///
///
/// Gets or sets the loaded flag of the Node. Setting the loaded flag to false allows reloading of child items.
///
///
},
parentNode: function() {
///
///
/// Gets the parent node.
///
/// the parent of the node; null if the node is a root node or doesn't have a parent.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
ObservableArray: function() {
///
/// Constructor of kendo.data.ObservableArray
///
}
});
kendo.data.ObservableArray = (function() {
var original = kendo.data.ObservableArray;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(eventName,handler) {
///
///
/// Attaches an event handler for the specified event.
///
/// The name of the event.
/// The function which will be invoked when the event is raised.
///
},
join: function(separator) {
///
///
/// Joins all items of an ObservableArray into a string. Equivalent of
/// Array.prototype.join.
///
/// Specifies the string to separate each item of the array. If omitted the array items are separated with a comma (,)
///
},
parent: function() {
///
///
/// Gets the parent of the array if such parent exists.
///
/// the parent of the array; undefined if the array is not nested and doesn't have a parent.
///
},
pop: function() {
///
///
/// Removes the last item from an array and returns that item. Equivalent of Array.prototype.pop.
///
/// the item which was removed.
///
},
push: function() {
///
///
/// Appends the given items to the array and returns the new length of the array. Equivalent of Array.prototype.push.
/// The new items are wrapped as ObservableObject if they are complex objects.
///
/// the new length of the array.
///
},
slice: function(begin,end) {
///
///
/// Returns a one-level deep copy of a portion of an array. Equivalent of
/// Array.prototype.slice.
/// The result of the slice method is not an instance of ObvservableArray. It is a regular JavaScript Array object.
///
/// Zero-based index at which to begin extraction.
/// Zero-based index at which to end extraction. If end is omitted, slice extracts to the end of the sequence.
///
},
splice: function(index,howMany) {
///
///
/// Changes an ObservableArray, by adding new items while removing old items. Equivalent of
/// Array.prototype.splice
///
/// Index at which to start changing the array. If negative, will begin that many elements from the end.
/// An integer indicating the number of items to remove. If set to 0, no items are removed. In this case, you should specify at least one new item.
/// containing the removed items. The result of the splice method is not an instance of ObvservableArray.
///
},
shift: function() {
///
///
/// Removes the first item from an ObvservableArray and returns that item. Equivalent of Array.prototype.shift.
///
/// the item which was removed.
///
},
toJSON: function() {
///
///
/// Returns a JavaScript Array which represents the contents of the ObservableArray.
///
///
},
unshift: function() {
///
///
/// Adds one or more items to the beginning of an ObservableArray and returns the new length. Equivalent of Array.prototype.unshift.
///
/// the new length of the array.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
ObservableObject: function() {
///
/// Constructor of kendo.data.ObservableObject
///
}
});
kendo.data.ObservableObject = (function() {
var original = kendo.data.ObservableObject;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function() {
///
///
/// Attaches a handler to an event. Examples and more info can be found in the bind section of the
/// kendo.Observable API reference.
///
///
},
get: function(name) {
///
///
/// Gets the value of the specified field.
///
/// The name of the field whose value is going to be returned.
/// the value of the specified field.
///
},
parent: function() {
///
///
/// Gets the parent of the object if such parent exists.
///
/// the parent of the object; undefined if the object is not nested and doesn't have a parent.
///
},
set: function(name,value) {
///
///
/// Sets the value of the specified field.
///
/// The name of the field whose value is going to be returned.
/// The new value of the field.
///
},
toJSON: function() {
///
///
/// Creates a plain JavaScript object which contains all fields of the ObservableObject.
///
/// which contains only the fields of the ObservableObject.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
PivotDataSource: function() {
///
/// Constructor of kendo.data.PivotDataSource
///
}
});
kendo.data.PivotDataSource = (function() {
var original = kendo.data.PivotDataSource;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
axes: function() {
///
///
/// Get the parsed axes data
///
/// the parsed axes data
///
},
catalog: function(name) {
///
///
/// Get or sets the current catalog name.
///
/// The name of the catalog.
/// the current catalog name.
///
},
columns: function(val) {
///
///
/// Get or sets the columns configuration.
///
/// The columns configuration. Accepts the same values as the columns option.
/// the current columns configuration.
///
},
cube: function(name) {
///
///
/// Get or sets the current cube name.
///
/// The name of the cube.
/// the current cube name.
///
},
discover: function(options) {
///
///
/// Starts discover request with given options.
///
/// The options of the discover request
/// Deferred object
///
},
measures: function(val) {
///
///
/// Get or sets the measures configuration.
///
/// The measures configuration. Accepts the same values as the measures option.
/// the current measures configuration.
///
},
measuresAxis: function() {
///
///
/// Get the name of the axis on which measures are displayed.
///
/// the axis name.
///
},
rows: function(val) {
///
///
/// Get or sets the rows configuration.
///
/// The rows configuration. Accepts the same values as the row option.
/// the current rows configuration.
///
},
schemaCatalogs: function() {
///
///
/// Request catalogs information.
///
/// Deferred object
///
},
schemaCubes: function() {
///
///
/// Request cubes schema information.
///
/// Deferred object
///
},
schemaDimensions: function() {
///
///
/// Request dimensions schema information.
///
/// Deferred object
///
},
schemaHierarchies: function(dimensionName) {
///
///
/// Request hierarchies schema information.
///
/// The name of the dimensions which is 'owner' of the hierarchy.
/// Deferred object
///
},
schemaLevels: function(hierarchyName) {
///
///
/// Request levels schema information.
///
/// The name of the hierarchy which is 'owner' of the level.
/// Deferred object
///
},
schemaMeasures: function() {
///
///
/// Request measures schema information.
///
/// Deferred object
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
SchedulerDataSource: function() {
///
/// Constructor of kendo.data.SchedulerDataSource
///
}
});
kendo.data.SchedulerDataSource = (function() {
var original = kendo.data.SchedulerDataSource;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
expand: function(start,end) {
///
///
/// Expands all recurring events in the data and returns a list of events for a specific period.
///
/// The start date of the period.
/// The end date of the period.
/// the expanded list of scheduler events filtered by the specified start/end period.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
SchedulerEvent: function() {
///
/// Constructor of kendo.data.SchedulerEvent
///
}
});
kendo.data.SchedulerEvent = (function() {
var original = kendo.data.SchedulerEvent;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
clone: function(options,updateUid) {
///
///
/// Clones the scheduler event.
///
/// Additional options passed to the SchedulerEvent constructor.
/// If you pass true the uid of the event will be updated.
/// the cloned scheduler event.
///
},
duration: function() {
///
///
/// Returns the scheduler event length in milliseconds.
///
/// the length of the event.
///
},
expand: function(start,end,timeZoneId) {
///
///
/// Expands the event for a specific period based on the recurrenceRule option.
///
/// The start date of the occurrence period.
/// The end date of the occurrence period.
/// The time zone ID used to convert the recurrence rule dates.
/// list of occurrences.
///
},
update: function(eventInfo) {
///
///
/// Updates the scheduler event.
///
/// The new values, which will be used to update the event.
///
},
isMultiDay: function() {
///
///
/// Checks whether the event is equal to or longer then twenty four hours.
///
/// return true if event is equal to or longer then 24 hours.
///
},
isException: function() {
///
///
/// Checks whether the event is a recurrence exception.
///
/// return true if event is a recurrence exception.
///
},
isOccurrence: function() {
///
///
/// Checks whether the event is an occurrence part of a recurring series.
///
/// return true if event is an occurrence.
///
},
isRecurring: function() {
///
///
/// Checks whether the event is part of a recurring series.
///
/// return true if event is recurring.
///
},
isRecurrenceHead: function() {
///
///
/// Checks whether the event is the head of a recurring series.
///
/// return true if event is a recurrence head.
///
},
toOccurrence: function(options) {
///
///
/// Converts the scheduler event to a event occurrence. Method will remove recurrenceRule, recurrenceException options, will add a recurrenceId field and will set id to the default one.
///
/// Additional options passed to the SchedulerEvent constructor.
/// the occurrence.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
TreeListDataSource: function() {
///
/// Constructor of kendo.data.TreeListDataSource
///
}
});
kendo.data.TreeListDataSource = (function() {
var original = kendo.data.TreeListDataSource;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
load: function(model) {
///
///
/// Loads the child nodes of a model.
///
/// The model that must be loaded.
/// A promise that will be resolved when the child nodes have been loaded, or rejected if an HTTP error occurs.
///
},
childNodes: function(model) {
///
///
/// Child nodes for model.
///
/// The model whose children must be returned.
/// of the child items.
///
},
rootNodes: function() {
///
///
/// Return all root nodes.
///
/// of the root items.
///
},
parentNode: function(model) {
///
///
/// The parent of given node.
///
/// The model whose parent must be returned.
/// parent of the node.
///
},
level: function(model) {
///
///
/// The hierarchical level of the node.
///
/// The model whose level must be calculated.
/// the hierachy level of the node.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
TreeListModel: function() {
///
/// Constructor of kendo.data.TreeListModel
///
}
});
kendo.data.TreeListModel = (function() {
var original = kendo.data.TreeListModel;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
loaded: function() {
///
///
/// Gets or sets the loaded flag of the TreeList. Setting the loaded flag to false allows reloading of child items.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz, {
ChartAxis: function() {
///
/// Constructor of kendo.dataviz.ChartAxis
///
}
});
kendo.dataviz.ChartAxis = (function() {
var original = kendo.dataviz.ChartAxis;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
range: function() {
///
///
/// Returns an object with the axis minimum and maximum values.
///
/// the object with the min and max values.
///
},
slot: function(from,to) {
///
///
/// Returns a slot based on the specified from and to values.
///
/// The slot from value.
/// The slot to value. If a to value is not specified, then the from value will be used.
/// a rectangle or arc(for radar category and polar x axis) representing the slot.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Circle: function() {
///
/// Constructor of kendo.dataviz.diagram.Circle
///
}
});
kendo.dataviz.diagram.Circle = (function() {
var original = kendo.dataviz.diagram.Circle;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
position: function(offset) {
///
///
/// Get or sets the element position.
///
/// The origin of the element.
///
},
rotate: function(angle,center) {
///
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Connection: function() {
///
/// Constructor of kendo.dataviz.diagram.Connection
///
}
});
kendo.dataviz.diagram.Connection = (function() {
var original = kendo.dataviz.diagram.Connection;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
source: function(source) {
///
///
/// Gets or sets the current source of the connection.This object can be a Point for a floating endpoint (i.e. not attached to a shape), a Shape or a Connector of a Shape. You can use the Shape.getConnector() method to fetch a Connector on the basis of its name. If a Shape is specified the Connection will attach to the "Auto" connector.
///
/// If no source is specified the method will return the current object to which the Connection's endpoint is attached.
/// the connection source.
///
},
sourcePoint: function() {
///
///
/// Gets the global coordinate of the connection's start (initial endpoint).
/// The method returns a Point independently of the object to which the source is attached.
///
/// the coordinates of the connection source.
///
},
target: function(target) {
///
///
/// Gets or set the target of the Connection.This object can be a Point for a floating endpoint (i.e. not attached to a shape), a Shape or a Connector of a Shape. You can use the Shape.getConnector() method to fetch a Connector on the basis of its name. If a Shape is specified the Connection will attach to the "Auto" connector.
///
/// If no source is specified the method will return the current object to which the Connection's endpoint is attached.
/// the connection target.
///
},
targetPoint: function() {
///
///
/// Similar to the sourcePoint, this gets the coordinates of the target of the Connection independently of its endpoint attachement.
///
/// the coordinates of the connection target.
///
},
select: function(value) {
///
///
/// Select or deselects the Connection.
///
/// True to select the Connection and false to deselect it.
///
},
type: function(value) {
///
///
/// Gets or sets the (sub-) type of the Connection which defines the way it routes.The routing of a connection is the way that intermediate points of a Connection defines a route. A route is usually defined on the basis of constraints or behaviors. Currently the framework defines a default polyline route (which simply connects the given intermediate points) and a simple rectangular (aka cascading) route. The cascading type is useful when using tree layout and hierarchies; the routed Connection will in this case enhance the representation of the hierarchy and thus reproduce a classic organization diagram.
///
///
///
},
points: function() {
///
///
/// Gets the intermediate points of the connection.
///
/// the intermediate points of the connection.
///
},
allPoints: function() {
///
///
/// Gets all points of the Connection.
/// This is the union of the endpoints and the intermediate points.
///
/// all points of the connection.
///
},
redraw: function() {
///
///
/// Redraws the Connection with the given options.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Connector: function() {
///
/// Constructor of kendo.dataviz.diagram.Connector
///
}
});
kendo.dataviz.diagram.Connector = (function() {
var original = kendo.dataviz.diagram.Connector;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
position: function() {
///
///
/// Gets the position of the Connector.
///
/// the current position of the connector.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Group: function() {
///
/// Constructor of kendo.dataviz.diagram.Group
///
}
});
kendo.dataviz.diagram.Group = (function() {
var original = kendo.dataviz.diagram.Group;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
append: function(element) {
///
///
/// Appends the given element to the group
///
/// The element to append.
///
},
clear: function() {
///
///
/// Removes all elements from the group.
///
///
},
remove: function(element) {
///
///
/// Removes the given element from the group
///
/// The element to remove.
///
},
position: function(offset) {
///
///
/// Get or sets the element position.
///
/// The origin of the element.
///
},
rotate: function(angle,center) {
///
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Image: function() {
///
/// Constructor of kendo.dataviz.diagram.Image
///
}
});
kendo.dataviz.diagram.Image = (function() {
var original = kendo.dataviz.diagram.Image;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
position: function(offset) {
///
///
/// Get or sets the element position.
///
/// The origin of the element.
///
},
rotate: function(angle,center) {
///
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Layout: function() {
///
/// Constructor of kendo.dataviz.diagram.Layout
///
}
});
kendo.dataviz.diagram.Layout = (function() {
var original = kendo.dataviz.diagram.Layout;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
append: function(element) {
///
///
/// Appends the given element to the group
///
/// The element to append.
///
},
clear: function() {
///
///
/// Removes all elements from the group.
///
///
},
rect: function(rect) {
///
///
/// Gets or sets the layout rectangle.
///
/// The layout rectangle.
/// The current rectangle.
///
},
reflow: function() {
///
///
/// Arranges the elements based on the current options.
///
///
},
remove: function(element) {
///
///
/// Removes the given element from the group
///
/// The element to remove.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Line: function() {
///
/// Constructor of kendo.dataviz.diagram.Line
///
}
});
kendo.dataviz.diagram.Line = (function() {
var original = kendo.dataviz.diagram.Line;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
position: function(offset) {
///
///
/// Get or sets the element position.
///
/// The origin of the element.
///
},
rotate: function(angle,center) {
///
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Point: function() {
///
/// Constructor of kendo.dataviz.diagram.Point
///
}
});
kendo.dataviz.diagram.Point = (function() {
var original = kendo.dataviz.diagram.Point;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Rect: function() {
///
/// Constructor of kendo.dataviz.diagram.Rect
///
}
});
kendo.dataviz.diagram.Rect = (function() {
var original = kendo.dataviz.diagram.Rect;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
position: function(offset) {
///
///
/// Get or sets the element position.
///
/// The origin of the element.
///
},
rotate: function(angle,center) {
///
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Rectangle: function() {
///
/// Constructor of kendo.dataviz.diagram.Rectangle
///
}
});
kendo.dataviz.diagram.Rectangle = (function() {
var original = kendo.dataviz.diagram.Rectangle;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
visible: function(visible) {
///
///
/// Gets or sets the visibilty of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
Shape: function() {
///
/// Constructor of kendo.dataviz.diagram.Shape
///
}
});
kendo.dataviz.diagram.Shape = (function() {
var original = kendo.dataviz.diagram.Shape;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
position: function(point) {
///
///
/// Get or set method returning the current global position or sets the position specified.
///
/// Either the location to set or if no parameter given returns the current location.
///
},
clone: function() {
///
///
/// Returns a clone (with a different id) of the shape.
///
/// A clone of the current shape.
///
},
select: function(value) {
///
///
/// Selects or deselects the shape.
///
/// Use 'true' to select the shape or 'false' to deselect it.
///
},
connections: function(type) {
///
///
/// Returns the connections attached to the shape. You can optionally specify to return only the incoming or outgoing connections.
///
/// If not parameter specified all connections are returned, if "in" then only the incoming (i.e. towards the shape) are returned, if "out" the only the outgoing (i.e. away from the shape) are returned.
///
},
getConnector: function() {
///
///
/// Fetches a (default or custom) Connector defined on the Shape by its name.
///
///
},
getPosition: function(side) {
///
///
/// Returns the middle positions of the sides of the bounds or the center of the shape's bounds. This method is useful when defining custom connectors where a position function relative to the shape's coordinate system is required.
///
/// One of the four sides of a bound; "left", "right", "top", "bottom". If none specified the center of the shape's bounds will be returned.
///
},
redraw: function() {
///
///
/// Renders the shape with the given options. It redefines the options and redraws the shape accordingly.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.diagram, {
TextBlock: function() {
///
/// Constructor of kendo.dataviz.diagram.TextBlock
///
}
});
kendo.dataviz.diagram.TextBlock = (function() {
var original = kendo.dataviz.diagram.TextBlock;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
content: function(content) {
///
///
/// Gets or sets the text block content.
///
/// The new text content.
/// the current text content.
///
},
position: function(offset) {
///
///
/// Get or sets the element position.
///
/// The origin of the element.
///
},
rotate: function(angle,center) {
///
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.map, {
Extent: function() {
///
/// Constructor of kendo.dataviz.map.Extent
///
}
});
kendo.dataviz.map.Extent = (function() {
var original = kendo.dataviz.map.Extent;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
contains: function(location) {
///
///
/// Tests if a location is contained within the extent.
///
/// The location to test for.
/// true if the extent contains the location, false otherwise.
///
},
containsAny: function(locations) {
///
///
/// Tests if any of the locations is contained within the extent.
///
/// An array of locations to test for.
/// true if the extent contains any of the locations, false otherwise.
///
},
center: function() {
///
///
/// Returns the center of the extent.
///
/// The extent center location.
///
},
include: function(location) {
///
///
/// Grows the extent, if required, to contain the specified location.
///
/// The location to include in the extent.
///
},
includeAll: function(locations) {
///
///
/// Grows the extent, if required, to contain all specified locations.
///
/// The locations to include in the extent.
///
},
edges: function() {
///
///
/// Returns the four extreme locations of the extent.
///
/// An object with nw, ne, se and sw locations.
///
},
toArray: function() {
///
///
/// Returns the four extreme locations of the extent as an array.
///
/// An array with [NW, NE, SE, SW] locations.
///
},
overlaps: function(extent) {
///
///
/// Tests if the given extent overlaps with this instance.
///
/// The extent to test with.
/// true if the extents overlap, false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.map, {
Layer: function() {
///
/// Constructor of kendo.dataviz.map.Layer
///
}
});
kendo.dataviz.map.Layer = (function() {
var original = kendo.dataviz.map.Layer;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
show: function() {
///
///
/// Shows the layer, if not visible.
///
///
},
hide: function() {
///
///
/// Hides the layer, if visible.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.map, {
Location: function() {
///
/// Constructor of kendo.dataviz.map.Location
///
}
});
kendo.dataviz.map.Location = (function() {
var original = kendo.dataviz.map.Location;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
clone: function() {
///
///
/// Creates a new instance with the same coordinates.
///
/// The new Location instance.
///
},
destination: function(destination) {
///
///
/// Calculates the great-circle distance
/// to the given destination in meters.
///
/// The destination location.
/// The distance to the specified location in meters.
///
},
distanceTo: function(distance,bearing) {
///
///
/// Finds a destination at the given distance and bearing from this location.
///
/// The distance to the destination in meters.
/// The initial bearing to the destination in decimal degrees.
/// The destination at the given distance and bearing.
///
},
equals: function(location) {
///
///
/// Compares this location with another instance.
///
/// The location to compare with.
/// true if the location coordinates match; false otherwise.
///
},
round: function(digits) {
///
///
/// Rounds the location coordinates to the specified number of fractional digits.
///
/// Number of fractional digits.
/// The current Location instance.
///
},
toArray: function() {
///
///
/// Returns the location coordinates as an [lat, lng] array.
///
/// An array representation of the location, e.g. [39, -179]
///
},
toString: function() {
///
///
/// Returns the location coordinates formatted as '{lat},{lng}'.
///
/// A string representation of the location, e.g. "39,-179"
///
},
wrap: function() {
///
///
/// Wraps the latitude and longitude to fit into the [0, 90] and [0, 180] range.
///
/// The current Location instance.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.map, {
MarkerLayer: function() {
///
/// Constructor of kendo.dataviz.map.MarkerLayer
///
}
});
kendo.dataviz.map.MarkerLayer = (function() {
var original = kendo.dataviz.map.MarkerLayer;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
show: function() {
///
///
/// Shows the layer, if not visible.
///
///
},
hide: function() {
///
///
/// Hides the layer, if visible.
///
///
},
setDataSource: function() {
///
///
/// Sets the data source of this layer.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.map, {
ShapeLayer: function() {
///
/// Constructor of kendo.dataviz.map.ShapeLayer
///
}
});
kendo.dataviz.map.ShapeLayer = (function() {
var original = kendo.dataviz.map.ShapeLayer;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
show: function() {
///
///
/// Shows the layer, if not visible.
///
///
},
hide: function() {
///
///
/// Hides the layer, if visible.
///
///
},
setDataSource: function() {
///
///
/// Sets the data source of this layer.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.ui, {
Barcode: function() {
///
/// Constructor of kendo.dataviz.ui.Barcode
///
}
});
kendo.dataviz.ui.Barcode = (function() {
var original = kendo.dataviz.ui.Barcode;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
exportImage: function(options) {
///
///
/// Exports the barcode as an image.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
///
},
exportPDF: function(options) {
///
///
/// Exports the barcode as a PDF file.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
///
},
exportSVG: function(options) {
///
///
/// Exports the barcode as an SVG document.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the barcode encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
redraw: function() {
///
///
/// Redraws the barcode.
///
///
},
resize: function(force) {
///
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the barcode. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape and
/// ImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the barcode.
///
},
value: function(value) {
///
///
/// Gets/Sets the value of the barcode.
///
/// The value to set.
/// The value of the barcode.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoBarcode = function() {
this.data("kendoBarcode", new kendo.dataviz.ui.Barcode());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoBarcode: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.Barcode widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Barcode instance (if present).
///
},
kendoBarcode: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.Barcode widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
renderAs — String (default: "svg")
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Barcode will switch to the first available mode.The supported values are:
///
///
background — String (default: "white")
///
The background of the barcode area.
///
Any valid CSS color string will work here, including hex and rgb.
///
///
border — Object
///
The border of the barcode area.
///
///
checksum — Boolean (default: false)
///
If set to true the barcode will not display the checksum digit next to the value in the text area.
///
///
color — String (default: "black")
///
The color of the bar elements.
///
Any valid CSS color string will work here, including hex and rgb.
///
///
height — Number (default: 100)
///
The height of the barcode in pixels. By default the height is 100.
///
///
padding — Object
///
The padding of the barcode.
///
///
text — Object
///
Can be set to a JavaScript object which represents the text configuration.
///
///
type — String (default: "code39")
///
The symbology (encoding) the barcode will use.The supported values are:
///
///
value — String
///
The initial value of the Barcode
///
///
width — Number (default: 300)
///
The width of the barcode in pixels. By default the width is 300.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
Chart: function() {
///
/// Constructor of kendo.dataviz.ui.Chart
///
}
});
kendo.dataviz.ui.Chart = (function() {
var original = kendo.dataviz.ui.Chart;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the widget for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
///
},
exportImage: function(options) {
///
///
/// Exports the chart as an image.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
///
},
exportPDF: function(options) {
///
///
/// Exports the chart as a PDF file.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
///
},
exportSVG: function(options) {
///
///
/// Exports the chart as an SVG document.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
///
},
getAxis: function(name) {
///
///
/// Returns an axis with specific name.
///
/// The axis name.
/// The chart axis.
///
},
redraw: function() {
///
///
/// Repaints the chart using the currently loaded data.
///
///
},
refresh: function() {
///
///
/// Reloads the data and renders the chart.
///
///
},
resize: function(force) {
///
///
/// Adjusts the chart layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
///
},
saveAsPDF: function() {
///
///
/// Saves the Chart as a PDF file using the options specified in options.pdf.
///
///
},
setDataSource: function(dataSource) {
///
///
/// Sets the data source of the widget.
///
/// The data source to which the widget should be bound.
///
},
setOptions: function(options) {
///
///
/// Sets the widget options. Changes are cumulative.
///
/// The chart settings to update.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the chart.
/// The returned string is a self-contained SVG document that can be used as is or
/// converted to other formats using tools like Inkscape and
/// ImageMagick.
/// Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the chart.
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the chart encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
toggleHighlight: function(show,options) {
///
///
/// Toggles the highlight of the series points or a segment for pie, donut and funnel charts.
///
/// A boolean value that specifies if the highlight should be shown or hidden.
/// A string representing the series name or the category name or an object with the series and category names.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoChart = function() {
this.data("kendoChart", new kendo.dataviz.ui.Chart());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoChart: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.Chart widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Chart instance (if present).
///
},
kendoChart: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.Chart widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
autoBind — Boolean (default: true)
///
If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the
///
data source is fired. By default the widget will bind to the data source specified in the configuration.
///
///
axisDefaults — Object
///
The default options for all chart axes. Accepts the options supported by categoryAxis, valueAxis, xAxis and yAxis.
///
///
categoryAxis — Array|Object
///
The category axis configuration options.
///
///
chartArea — Object
///
The chart area configuration options. Represents the entire visible area of the chart.
///
///
dataSource — Object|Array|kendo.data.DataSource
///
The data source of the chart which is used to display the series. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource
///
instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
///
///
legend — Object
///
The chart legend configuration options.
///
///
panes — Array
///
The chart panes configuration.Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom.Each axis can be associated with a pane by setting its pane option to the name of the desired pane.
///
Axis that don't have specified pane are placed in the top (default) pane.Series are moved to the desired pane by associating them with an axis.
///
///
pannable — Boolean (default: false)
///
Specifies if the chart can be panned.
///
///
pannable — Object (default: false)
///
Specifies if the chart can be panned.
///
///
pdf — Object
///
Configures the export settings for the saveAsPDF method.
///
///
plotArea — Object
///
The plot area configuration options. The plot area is the area which displays the series.
///
///
renderAs — String
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Chart will switch to the first available mode.The supported values are:
///
///
series — Array
///
The configuration of the chart series.The series type is determined by the value of the type field.
///
If a type value is missing, the type is assumed to be the one specified in seriesDefaults.
///
///
seriesColors — Array
///
The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
///
///
seriesDefaults — Object
///
The default options for all series.
///
///
theme — String
///
The chart theme.The supported values are:
///
///
title — String
///
The chart title configuration options or text.
///
///
title — Object
///
The chart title configuration options or text.
///
///
tooltip — Object
///
The chart series tooltip configuration options.
///
///
transitions — Boolean (default: true)
///
If set to true the chart will play animations when displaying the series. By default animations are enabled.
///
///
valueAxis — Array
///
The value axis configuration options.
///
///
xAxis — Array
///
The X-axis configuration options of the scatter chart X-axis. Supports all valueAxis options.
///
///
yAxis — Array
///
The y axis configuration options of the scatter chart. Supports all valueAxis options.
///
///
zoomable — Boolean (default: false)
///
Specifies if the chart can be zoomed.
///
///
zoomable — Object (default: false)
///
Specifies if the chart can be zoomed.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
Diagram: function() {
///
/// Constructor of kendo.dataviz.ui.Diagram
///
}
});
kendo.dataviz.ui.Diagram = (function() {
var original = kendo.dataviz.ui.Diagram;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
addConnection: function(connection,undoable) {
///
///
/// Adds the given Connection to the diagram.
///
/// The Connection instance to be added to the diagram.
/// Whether the addition should be recorded in the undo-redo stack.
///
},
addShape: function(obj,undoable) {
///
///
/// Adds a new shape to the diagram.
///
/// A Shape instance or a Point where the default shape type will be added.
/// Whether the addition should be recorded in the undo-redo stack.
/// The newly created diagram shape.
///
},
alignShapes: function(direction) {
///
///
/// Aligns the edges (as defined by the bounding box) of the selected shapes.
///
/// This can be one of the four supported directions:
///
},
boundingBox: function(items) {
///
///
///
///
/// The items (shapes and connections) to include in the bounding box. Defaults to all items if not specified.
/// The bounding rectangle of the specified items. If nothing is specified the bounding box of the all diagram will be returned.
///
},
bringIntoView: function(obj,options) {
///
///
/// Brings one or more items into the view in function of various criteria.
///
///
///
///
},
cancelEdit: function() {
///
///
/// Cancels edit and close the popup form.
///
///
},
clear: function() {
///
///
/// Clears the content of the diagram.
///
///
},
connect: function(source,target,options) {
///
///
/// Creates a connection which can be either attached on both ends to a shape, half attached or floating (not attached to any shape). When a connection is (half) attached to a shape it happens through the intermediate Connector object. Connectors are part of a Shape's definition and you can specify the binding of a connection to a shape directly via the shape or via one of its connectors. If you specify a Shape as a connection's endpoint the Auto-connector will be used. This means that the endpoint of the connection will switch to the most convenient (in the sense of shortest path) connector automatically. If you specify a shape's connector as an endpoint for a connection the endpoint will remain attached to that given Connector instance.
/// Finally, if you wish to have a (half) floating connection endpoint you should specify a Point as parameter for the floating end.
///
/// The source definition of the connection. This can be a Shape, a Connector or a Point.
/// The target definition of the connection. This can be a Shape, a Connector or a Point.
/// The options of the new connection. See connections options.
///
},
connected: function(source,target) {
///
///
/// Returns whether the two given shapes are connected through a connection.
///
/// A Shape in the diagram.
/// A Shape in the diagram.
///
},
copy: function() {
///
///
/// Puts a copy of the currently selected diagram to an internal clipboard.
///
///
},
createConnection: function(item) {
///
///
/// Adds an empty connection data item and a popup window will be displayed.
///
/// A diagram shape item to edit.
///
},
createShape: function(item) {
///
///
/// Adds an empty shape data item and a popup window will be displayed.
///
/// A diagram shape item to edit.
///
},
cut: function() {
///
///
/// Cuts the currently selected diagram items to an internal clipboard.
///
///
},
destroy: function() {
///
///
/// Prepares the widget for safe removal from the DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
///
},
documentToModel: function(point) {
///
///
/// Transforms a point from Page document coordinates to Model coordinates. Shortcut for viewToModel(documentToView(point))
///
/// The point in Page document coordinates.
/// the transformed point
///
},
documentToView: function(point) {
///
///
/// Transforms a point from Page document coordinates to View coordinates. View origin is the diagram container.
///
/// The point in View coordinates.
/// the transformed point
///
},
edit: function(item) {
///
///
/// Edit diagram connection/shape.
///
/// A diagram item to edit.
///
},
exportImage: function(options) {
///
///
/// Exports the diagram content as an image.
/// The result can be saved using kendo.saveAs.The full content of the diagram will be exported in 1:1 scale.
/// If exporting the current view is desired then the kendo.drawing.drawDOM
/// method should be called on a container element.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
///
},
exportPDF: function(options) {
///
///
/// Exports the diagram content as a PDF file.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
///
},
exportSVG: function(options) {
///
///
/// Exports the diagram content as an SVG document.
/// The result can be saved using kendo.saveAs.The full content of the diagram will be exported in 1:1 scale.
/// If exporting the current view is desired then the kendo.drawing.drawDOM
/// method should be called on a container element.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
///
},
focus: function() {
///
///
/// Sets the focus on the diagram.
///
///
},
getShapeById: function(id) {
///
///
/// Returns the shape or connection with the specified identifier.
///
/// The unique identifier of the Shape or Connection
/// the item that has the provided ID.
///
},
layerToModel: function(point) {
///
///
/// Transforms a point from Layer coordinates to Model coordinates. Layer coordinates are relative to the drawable surface.
///
/// The point in layer coordinates.
/// the transformed point
///
},
layout: function(options) {
///
///
/// Applies a layout algorithm on the current diagram.A more detailed overview of layout and graph analysis can be found below.
///
/// The layout options. See options.layout for a full reference.
///
},
load: function(json) {
///
///
/// Loads a saved diagram.
///
/// The serialized diagram in JSON format.
///
},
modelToDocument: function(point) {
///
///
/// Transforms a point from Model coordinates to Page document coordinates. Shortcut for viewToDocument(modelToView(point))
///
/// The point in Model coordinates.
/// the transformed point
///
},
modelToLayer: function(point) {
///
///
/// Transforms a point from Model coordinates to Layer coordinates. Layer coordinates are relative to the drawing surface.
///
/// The point in Model coordinates.
/// the transformed point
///
},
modelToView: function(point) {
///
///
/// Transforms a point from Model coordinates to View coordinates. Model coordinates are independent coordinates to define Shape bounds.
///
/// The point in Model coordinates.
/// the transformed point
///
},
pan: function(pan) {
///
///
/// Pans the diagram with a specified delta (represented as a Point).
///
/// The translation delta to apply to the diagram.
///
},
paste: function() {
///
///
/// Pastes the content of the internal diagram clipboard.
///
///
},
redo: function() {
///
///
/// Executes again the previously undone action.
///
///
},
remove: function(items,undoable) {
///
///
/// Removes one or more items from the diagram
///
/// A diagram item or an array of diagram items to remove.
/// Whether the removal should be recorded in the undo-redo stack.
///
},
resize: function() {
///
///
/// Adjusts the diagram size to match the size of the container.
///
///
},
save: function() {
///
///
/// Saves the diagram.
///
///
},
saveEdit: function() {
///
///
/// Saves any changes made by the user.
///
///
},
select: function(elements,options) {
///
///
/// Gets or sets the selected elements.
///
/// The diagram element(s) that should be selected.
///
/// The selected diagram elements.
///
},
selectAll: function() {
///
///
/// Selects all shapes and connections.
///
///
},
selectArea: function(rect) {
///
///
/// Selects all diagram elements within the given rectangle.
///
/// The rectangle that determines which elements should be selected.
///
},
setConnectionsDataSource: function(dataSource) {
///
///
/// Sets the connections data source of the diagram.
///
/// The data source to which the widget should be bound.
///
},
setDataSource: function(dataSource) {
///
///
/// Sets the data source of the diagram.
///
/// The data source to which the widget should be bound.
///
},
toBack: function(items,undoable) {
///
///
/// Sends the specified items to the back, i.e. it's reordering items to ensure they are underneath the complementary items.
///
/// An array of diagram items.
/// Whether the change should be recorded in the undo-redo stack.
///
},
toFront: function(items,undoable) {
///
///
/// Brings the specified items in front, i.e. it's reordering items to ensure they are on top of the complementary items.
///
/// An array of diagram items.
/// Whether the change should be recorded in the undo-redo stack.
///
},
transformPoint: function(p) {
///
///
/// Transforms a point from the main canvas coordinates to the non-transformed origin.
///
/// An arbitrary point to transform to the diagram coordinate system.
///
},
transformRect: function(r) {
///
///
/// Transforms a given rectangle to the diagram coordinate system.
///
/// The rectangle to be transformed.
///
},
undo: function() {
///
///
/// Undoes the previous action.
///
///
},
viewToDocument: function(point) {
///
///
/// Transforms a point from View coordinates to Page document coordinates. View origin is the diagram container.
///
/// The point in Page document coordinates.
/// the transformed point
///
},
viewToModel: function(point) {
///
///
/// Transforms a point from View coordinates to Model coordinates. Model coordinates are independent coordinates to define Shape bounds.
///
/// The point in View coordinates.
/// the transformed point
///
},
viewport: function() {
///
///
/// The bounds of the diagramming canvas.
///
///
},
zoom: function(zoom,point) {
///
///
/// Zooms in or out of the diagram.
///
/// The zoom factor.
/// The point to zoom into or out of.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoDiagram = function() {
this.data("kendoDiagram", new kendo.dataviz.ui.Diagram());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoDiagram: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.Diagram widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Diagram instance (if present).
///
},
kendoDiagram: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.Diagram widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
autoBind — Boolean (default: true)
///
If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the
///
data source is fired. By default the widget will bind to the data source specified in the configuration.
///
///
connectionDefaults — Object
///
Defines the defaults of the connections. Whenever a connection is created, the specified connectionDefaults will be used and merged with the (optional) configuration passed through the connection creation method.
///
///
connections — Array
///
Defines the connections configuration.
///
///
connectionsDataSource — Object|Array|kendo.data.DataSource
///
Defines the data source of the connections.
///
///
dataSource — Object|Array|kendo.data.DataSource
///
Defines the data source of the diagram.
///
///
editable — Boolean (default: true)
///
Defines how the diagram behaves when the user attempts to edit shape content, create new connections, edit connection labels and so on.
///
///
editable — Object (default: true)
///
Defines how the diagram behaves when the user attempts to edit shape content, create new connections, edit connection labels and so on.
///
///
layout — Object
///
The layout of a diagram consists in arranging the shapes (sometimes also the connections) in some fashion in order to achieve an aesthetically pleasing experience to the user. It aims at giving a more direct insight in the information contained within the diagram and its relational structure.On a technical level, layout consists of a multitude of algorithms and optimizations:and various ad-hoc calculations which depend on the type of layout. The criteria on which an algorithm is based vary but the common denominator is:Kendo diagram includes three of the most used layout algorithms which should cover most of your layout needs - tree layout, force-directed layout and layered layout. Please, check the type property for more details regarding each type.The generic way to apply a layout is by calling the layout() method on the diagram. The method has a single parameter options. It is an object, which can contain parameters which are specific to the layout as well as parameters customizing the global grid layout. Parameters which apply to other layout algorithms can be included but are overlooked if not applicable to the chose layout type. This means that you can define a set of parameters which cover all possible layout types and simply pass it in the method whatever the layout define in the first parameter.
///
///
pannable — Boolean (default: true)
///
Defines the pannable options.
///
///
pannable — Object (default: true)
///
Defines the pannable options.
///
///
pdf — Object
///
Configures the export settings for the saveAsPDF method.
///
///
selectable — Boolean (default: true)
///
Defines the selectable options.
///
///
selectable — Object (default: true)
///
Defines the selectable options.
///
///
shapeDefaults — Object
///
Defines the shape options.
///
///
shapes — Array
///
Defines the shape options.
///
///
template — String|Function (default: "")
///
The template which renders the content of the shape when bound to a dataSource. The names you can use in the template correspond to the properties used in the dataSource. See the dataSource topic below for a concrete example.
///
///
zoom — Number (default: 1)
///
The zoom level in percentages.
///
///
zoomMax — Number (default: 2)
///
The zoom max level in percentages.
///
///
zoomMin — Number (default: 0.1)
///
The zoom min level in percentages.
///
///
zoomRate — Number (default: 0.1)
///
The zoom step when using the mouse-wheel to zoom in or out.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
LinearGauge: function() {
///
/// Constructor of kendo.dataviz.ui.LinearGauge
///
}
});
kendo.dataviz.ui.LinearGauge = (function() {
var original = kendo.dataviz.ui.LinearGauge;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
allValues: function(values) {
///
///
/// Allows setting or getting multiple Gauge values at once.
///
/// An array of values to be set.
/// An array of the Gauge pointer values will be returned if no parameter is passed.
///
},
destroy: function() {
///
///
/// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
///
///
},
exportImage: function(options) {
///
///
/// Exports the Gauge as an image.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
///
},
exportPDF: function(options) {
///
///
/// Exports the Gauge as a PDF file.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
///
},
exportSVG: function(options) {
///
///
/// Exports the Gauge as an SVG document.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
///
},
redraw: function() {
///
///
/// Redraws the gauge.
///
///
},
resize: function(force) {
///
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the gauge.
/// The returned string is a self-contained SVG document that can be used as is or
/// converted to other formats using tools like Inkscape and
/// ImageMagick.
/// Both programs provide command-line interface suitable for server-side processing.
///
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the gauge encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
value: function() {
///
///
/// Change the value of the gauge.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoLinearGauge = function() {
this.data("kendoLinearGauge", new kendo.dataviz.ui.LinearGauge());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoLinearGauge: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.LinearGauge widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.LinearGauge instance (if present).
///
},
kendoLinearGauge: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.LinearGauge widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
gaugeArea — Object
///
The gauge area configuration options.
///
This is the entire visible area of the gauge.
///
///
pointer — Array
///
The pointer configuration options. It accepts an Array of pointers, each with it's own configuration options.
///
///
renderAs — String
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are:
///
///
scale — Object
///
Configures the scale.
///
///
transitions — Boolean (default: true)
///
A value indicating if transition animations should be played.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
Map: function() {
///
/// Constructor of kendo.dataviz.ui.Map
///
}
});
kendo.dataviz.ui.Map = (function() {
var original = kendo.dataviz.ui.Map;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
center: function(center) {
///
///
/// Gets or sets the map center.
/// The setter is chainable, i.e. returns the map instance.
///
/// The location of the new map center. An array argument is assumed to be in [Latitude, Lonigude] order.
/// The current map center.
///
},
destroy: function() {
///
///
/// Prepares the widget for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
///
},
eventOffset: function(e) {
///
///
/// Returns the event coordinates relative to the map element.
/// Offset coordinates are not synchronized to a particular location on the map.
///
/// The DOM or jQuery mouse event.
/// The event coordinates relative to the map element.
///
},
eventToLayer: function(e) {
///
///
/// Retrieves projected (layer) coordinates that correspond to this mouse event.
/// Layer coordinates are absolute and change only when the zoom level is changed.
///
/// The DOM or jQuery mouse event.
/// The projected (layer) coordinates that correspond to this mouse event.
///
},
eventToLocation: function(e) {
///
///
/// Retrieves the geographic location that correspond to this mouse event.
///
/// The DOM or jQuery mouse event.
/// The geographic location that correspond to this mouse event.
///
},
eventToView: function(e) {
///
///
/// Retrieves relative (view) coordinates that correspond to this mouse event.
/// Layer elements positioned on these coordinates will appear under the mouse cursor.View coordinates are no longer valid after a map reset.
///
/// The DOM or jQuery mouse event.
/// The relative (view) coordinates that correspond to this mouse event.
///
},
extent: function(extent) {
///
///
/// Gets or sets the map extent or visible area.
/// The setter is chainable, i.e. returns the map instance.
///
/// The new extent of the map.
/// The current map extent.
///
},
layerToLocation: function(point,zoom) {
///
///
/// Transforms layer (projected) coordinates to geographical location.
///
/// The layer (projected) coordinates. An array argument is assumed to be in x, y order.
/// Optional. Assumed zoom level. Defaults to the current zoom level.
/// The geographic location that corresponds to the layer coordinates.
///
},
locationToLayer: function(location,zoom) {
///
///
/// Returns the layer (projected) coordinates that correspond to a geographical location.
///
/// The geographic location. An array argument is assumed to be in [Latitude, Lonigude] order.
/// Optional. Assumed zoom level. Defaults to the current zoom level.
/// The layer (projected) coordinates.
///
},
locationToView: function(location) {
///
///
/// Returns the view (relative) coordinates that correspond to a geographical location.
///
/// The geographic location. An array argument is assumed to be in [Latitude, Lonigude] order.
/// The view coordinates that correspond to a geographical location.
///
},
resize: function(force) {
///
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
///
},
setOptions: function(options) {
///
///
/// Resets the map and applies new options over the current state.
///
/// The new options to be applied.
///
},
viewSize: function() {
///
///
/// Retrieves the size of the visible portion of the map.
///
/// The size (width and height) of the visible portion of the map.
///
},
viewToLocation: function(point,zoom) {
///
///
/// Returns the geographical location that correspond to the view (relative) coordinates.
///
/// The view coordinates. An array argument is assumed to be in x, y order.
/// Optional. Assumed zoom level. Defaults to the current zoom level.
/// The geographic location that corresponds to the view coordinates.
///
},
zoom: function(level) {
///
///
/// Gets or sets the map zoom level.
/// The setter is chainable, i.e. returns the map instance.
///
/// The new zoom level. The value is clamped to the [minZoom, maxZoom] interval.
/// The current zoom level.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoMap = function() {
this.data("kendoMap", new kendo.dataviz.ui.Map());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoMap: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.Map widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Map instance (if present).
///
},
kendoMap: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.Map widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
center — Array|kendo.dataviz.map.Location
///
The map center. Coordinates are listed as [Latitude, Longitude].
///
///
controls — Object
///
The configuration of built-in map controls.
///
///
layerDefaults — Object
///
The default configuration for map layers by type.
///
///
layers — Array
///
The configuration of the map layers.
///
The layer type is determined by the value of the type field.
///
///
markerDefaults — Object
///
The default options for all markers.
///
///
markers — Array
///
Static markers to display on the map.
///
///
minZoom — Number (default: 1)
///
The minimum zoom level.
///
Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
///
///
maxZoom — Number (default: 19)
///
The maximum zoom level.
///
Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
///
///
minSize — Number (default: 256)
///
The size of the map in pixels at zoom level 0.
///
///
pannable — Boolean (default: true)
///
Controls whether the user can pan the map.
///
///
wraparound — Boolean (default: true)
///
Specifies whether the map should wrap around the east-west edges.
///
///
zoom — Number (default: 3)
///
The initial zoom level.Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).The map size is derived from the zoom level and minScale options: size = (2 ^ zoom) * minSize
///
///
zoomable — Boolean (default: true)
///
Controls whether the map zoom level can be changed by the user.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
QRCode: function() {
///
/// Constructor of kendo.dataviz.ui.QRCode
///
}
});
kendo.dataviz.ui.QRCode = (function() {
var original = kendo.dataviz.ui.QRCode;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the QRCode for safe removal from the DOM.Removes data entries in order to avoid memory leaks.
///
///
},
exportImage: function(options) {
///
///
/// Exports the QRCode as an image.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
///
},
exportPDF: function(options) {
///
///
/// Exports the QRCode as a PDF file.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
///
},
exportSVG: function(options) {
///
///
/// Exports the QRCode as an SVG document.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the qrcode encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
redraw: function() {
///
///
/// Redraws the QR code using the current value and options.
///
///
},
resize: function(force) {
///
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
///
},
setOptions: function(options) {
///
///
/// Sets new options to the QRCode and redraws it.
///
/// An object with the new options. All configuration options can be set.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the qrcode. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape and
/// ImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the qrcode.
///
},
value: function(options) {
///
///
/// Change the value of the QR code.
///
/// The new value to be set.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoQRCode = function() {
this.data("kendoQRCode", new kendo.dataviz.ui.QRCode());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoQRCode: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.QRCode widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.QRCode instance (if present).
///
},
kendoQRCode: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.QRCode widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
background — String (default: "#fff")
///
The background color of the QR code. Accepts a valid CSS color string, including hex and rgb.
///
///
border — Object
///
The border of the QR code.
///
///
color — String (default: "#000")
///
The color of the QR code. Accepts a valid CSS color string, including hex and rgb.
///
///
encoding — String (default: "ISO_8859_1")
///
The encoding mode used to encode the value.The possible values are:
///
///
errorCorrection — String (default: "L")
///
The error correction level used to encode the value.The possible values are:
///
///
padding — Number (default: 0)
///
Sets the minimum distance in pixels that should be left between the border and the QR modules.
///
///
renderAs — String (default: "svg")
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the QRCode will switch to the first available mode.The supported values are:
///
///
size — Number|String
///
Specifies the size of a QR code in pixels (i.e. "200px"). Numeric values are treated as pixels.
///
If no size is specified, it will be determined from the element width and height.
///
In case the element has width or height of zero, a default value of 200 pixels will be used.
///
///
value — Number|String
///
The value of the QRCode.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
RadialGauge: function() {
///
/// Constructor of kendo.dataviz.ui.RadialGauge
///
}
});
kendo.dataviz.ui.RadialGauge = (function() {
var original = kendo.dataviz.ui.RadialGauge;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
allValues: function(values) {
///
///
/// Allows setting or getting multiple Gauge values at once.
///
/// An array of values to be set.
/// An array of the Gauge pointer values will be returned if no parameter is passed.
///
},
destroy: function() {
///
///
/// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
///
///
},
exportImage: function(options) {
///
///
/// Exports the Gauge as an image.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
///
},
exportPDF: function(options) {
///
///
/// Exports the Gauge as a PDF file.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
///
},
exportSVG: function(options) {
///
///
/// Exports the Gauge as an SVG document.
/// The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise.
/// The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
///
},
redraw: function() {
///
///
/// Redraws the gauge.
///
///
},
resize: function(force) {
///
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the gauge.
/// The returned string is a self-contained SVG document that can be used as is or
/// converted to other formats using tools like Inkscape and
/// ImageMagick.
/// Both programs provide command-line interface suitable for server-side processing.
///
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the gauge encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
value: function() {
///
///
/// Change the value of the gauge.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoRadialGauge = function() {
this.data("kendoRadialGauge", new kendo.dataviz.ui.RadialGauge());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoRadialGauge: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.RadialGauge widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.RadialGauge instance (if present).
///
},
kendoRadialGauge: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.RadialGauge widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
gaugeArea — Object
///
The gauge area configuration options.
///
This is the entire visible area of the gauge.
///
///
pointer — Array
///
The pointer configuration options. It accepts an Array of pointers, each with it's own configuration options.
///
///
renderAs — String
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are:
///
///
scale — Object
///
Configures the scale.
///
///
transitions — Boolean (default: true)
///
A value indicating if transition animations should be played.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
Sparkline: function() {
///
/// Constructor of kendo.dataviz.ui.Sparkline
///
}
});
kendo.dataviz.ui.Sparkline = (function() {
var original = kendo.dataviz.ui.Sparkline;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the Sparkline for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
///
///
},
exportImage: function(options) {
///
///
/// Exports the chart as an image.Inherited from Chart.exportImage
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
///
},
exportPDF: function(options) {
///
///
/// Exports the chart as a PDF file.Inherited from Chart.exportPDF
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
///
},
exportSVG: function(options) {
///
///
/// Exports the chart as an SVG document.Inherited from Chart.exportSVG
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
///
},
refresh: function() {
///
///
/// Reloads the data and repaints the chart.
///
///
},
setDataSource: function(dataSource) {
///
///
/// Sets the dataSource of an existing Chart and rebinds it.
///
///
///
},
setOptions: function(options) {
///
///
/// Sets the widget options. Changes are cumulative.
///
/// The chart settings to update.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the chart.
/// The returned string is a self-contained SVG document that can be used as is or
/// converted to other formats using tools like Inkscape and
/// ImageMagick.
/// Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the sparkline.
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the sparkline encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoSparkline = function() {
this.data("kendoSparkline", new kendo.dataviz.ui.Sparkline());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoSparkline: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.Sparkline widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Sparkline instance (if present).
///
},
kendoSparkline: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.Sparkline widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
axisDefaults — Object
///
Default options for all chart axes.
///
///
categoryAxis — Array
///
The category axis configuration options.
///
///
chartArea — Object
///
The chart area configuration options.
///
This is the entire visible area of the chart.
///
///
data — Array
///
The data for the default sparkline series.Will be discareded if series are supplied.
///
///
dataSource — Object
///
DataSource configuration or instance.
///
///
autoBind — Boolean (default: true)
///
Indicates whether the chart will call read on the data source initially.
///
///
plotArea — Object
///
The plot area configuration options. This is the area containing the plotted series.
///
///
pointWidth — Number (default: 5)
///
The width to allocate for each data point.
///
///
renderAs — String
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Sparkline will switch to the first available mode.The supported values are:
///
///
series — Array
///
Array of series definitions.The series type is determined by the value of the type field.
///
If a type value is missing, the type is assumed to be the one specified in seriesDefaults.Each series type has a different set of options.
///
///
seriesColors — Array
///
The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
///
///
seriesDefaults — Object
///
Default values for each series.
///
///
theme — String
///
Sets Chart theme. Available themes: default, blueOpal, black.
///
///
tooltip — Object
///
The data point tooltip configuration options.
///
///
transitions — Boolean (default: false)
///
A value indicating if transition animations should be played.
///
///
type — String (default: "line")
///
The default series type.
///
///
valueAxis — Array
///
The value axis configuration options.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
StockChart: function() {
///
/// Constructor of kendo.dataviz.ui.StockChart
///
}
});
kendo.dataviz.ui.StockChart = (function() {
var original = kendo.dataviz.ui.StockChart;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the widget for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
///
},
exportImage: function(options) {
///
///
/// Exports the chart as an image.Inherited from Chart.exportImage
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
///
},
exportPDF: function(options) {
///
///
/// Exports the chart as a PDF file.Inherited from Chart.exportPDF
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
///
},
exportSVG: function(options) {
///
///
/// Exports the chart as an SVG document.Inherited from Chart.exportSVG
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
///
},
redraw: function() {
///
///
/// Repaints the chart using the currently loaded data.
///
///
},
refresh: function() {
///
///
/// Reloads the data and renders the chart.
///
///
},
resize: function(force) {
///
///
/// Adjusts the chart layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
///
},
setDataSource: function(dataSource) {
///
///
/// Sets the data source of the widget.
///
/// The data source to which the widget should be bound.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the chart.
/// The returned string is a self-contained SVG document that can be used as is or
/// converted to other formats using tools like Inkscape and
/// ImageMagick.
/// Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the chart.
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the chart encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoStockChart = function() {
this.data("kendoStockChart", new kendo.dataviz.ui.StockChart());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoStockChart: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.StockChart widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.StockChart instance (if present).
///
},
kendoStockChart: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.StockChart widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
dateField — String (default: "date")
///
The field containing the point date.
///
It is used as a default categoryField for all series.The data item field value must be either:
///
///
navigator — Object
///
The data navigator configuration options.
///
///
axisDefaults — Object
///
Default options for all chart axes.
///
///
categoryAxis — Array
///
The category axis configuration options.
///
///
chartArea — Object
///
The chart area configuration options.
///
This is the entire visible area of the chart.
///
///
dataSource — Object
///
DataSource configuration or instance.
///
///
autoBind — Boolean (default: true)
///
Indicates whether the chart will call read on the data source initially.
///
///
legend — Object
///
The chart legend configuration options.
///
///
panes — Array
///
The chart panes configuration.Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom.Each axis can be associated with a pane by setting its pane option to the name of the desired pane.
///
Axis that don't have specified pane are placed in the top (default) pane.Series are moved to the desired pane by associating them with an axis.
///
///
pdf — Object
///
Configures the export settings for the saveAsPDF method.
///
///
plotArea — Object
///
The plot area configuration options. This is the area containing the plotted series.
///
///
renderAs — String
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Chart will switch to the first available mode.The supported values are:
///
///
series — Array
///
Array of series definitions.The series type is determined by the value of the type field.
///
If a type value is missing, the type is assumed to be the one specified in seriesDefaults.Each series type has a different set of options.
///
///
seriesColors — Array
///
The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
///
///
seriesDefaults — Object
///
Default values for each series.
///
///
theme — String
///
Sets Chart theme. Available themes: default, blueOpal, black.
///
///
title — Object
///
The chart title configuration options or text.
///
///
tooltip — Object
///
The data point tooltip configuration options.
///
///
transitions — Boolean (default: true)
///
A value indicating if transition animations should be played.
///
///
valueAxis — Array
///
The value axis configuration options.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
TreeMap: function() {
///
/// Constructor of kendo.dataviz.ui.TreeMap
///
}
});
kendo.dataviz.ui.TreeMap = (function() {
var original = kendo.dataviz.ui.TreeMap;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoTreeMap = function() {
this.data("kendoTreeMap", new kendo.dataviz.ui.TreeMap());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoTreeMap: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.TreeMap widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.TreeMap instance (if present).
///
},
kendoTreeMap: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.TreeMap widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
dataSource — Object|Array|kendo.data.HierarchicalDataSource
///
The data source of the treeMap which is used to display the tiles and titles. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.HierarchicalDataSource
///
instance.If the HierarchicalDataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.HierarchicalDataSource instance using that value as data source configuration.If the HierarchicalDataSource option is an existing kendo.data.HierarchicalDataSource instance the widget will use that instance and will not initialize a new one.
///
///
autoBind — Boolean (default: true)
///
If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the
///
data source is fired. By default the widget will bind to the data source specified in the configuration.
///
///
type — String (default: "squarified")
///
The layout type for the TreeMap.The Supported values are:
///
///
theme — String (default: "default")
///
The theme of the TreeMap.
///
///
valueField — String (default: "value")
///
The data item field which contains the tile value.
///
///
colorField — String (default: "color")
///
The data item field which contains the tile color.
///
///
textField — String (default: "text")
///
The data item field which contains the tile title.
///
///
template — String|Function
///
The template which renders the treeMap tile content.The fields which can be used in the template are:
///
///
colors — Array
///
The default colors for the treemap tiles. When all colors are used, new colors are pulled from the start again. Can be set to array of specific colors or array of color ranges.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.drawing, {
Arc: function() {
///
/// Constructor of kendo.drawing.Arc
///
}
});
kendo.drawing.Arc = (function() {
var original = kendo.drawing.Arc;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function() {
///
///
/// Returns the bounding box of the element with transformations applied.
/// Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
///
},
clip: function(clip) {
///
///
/// Gets or sets the element clipping path.
/// Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
///
},
clippedBBox: function() {
///
///
/// Returns the bounding box of the element with clipping and transformations applied.
/// Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
///
},
geometry: function(value) {
///
///
/// Gets or sets the arc geometry.
///
/// The new geometry to use.
/// The current arc geometry.
///
},
fill: function(color,opacity) {
///
///
/// Sets the shape fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
///
},
opacity: function(opacity) {
///
///
/// Gets or sets the element opacity.
/// Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
///
},
stroke: function(color,width,opacity) {
///
///
/// Sets the shape stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
///
},
transform: function(transform) {
///
///
/// Gets or sets the transformation of the element.
/// Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the element.
/// Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Circle: function() {
///
/// Constructor of kendo.drawing.Circle
///
}
});
kendo.drawing.Circle = (function() {
var original = kendo.drawing.Circle;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function() {
///
///
/// Returns the bounding box of the element with transformations applied.
/// Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
///
},
clip: function(clip) {
///
///
/// Gets or sets the element clipping path.
/// Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
///
},
clippedBBox: function() {
///
///
/// Returns the bounding box of the element with clipping and transformations applied.
/// Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
///
},
geometry: function(value) {
///
///
/// Gets or sets the circle geometry.
///
/// The new geometry to use.
/// The current circle geometry.
///
},
fill: function(color,opacity) {
///
///
/// Sets the shape fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
///
},
opacity: function(opacity) {
///
///
/// Gets or sets the element opacity.
/// Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
///
},
stroke: function(color,width,opacity) {
///
///
/// Sets the shape stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
///
},
transform: function(transform) {
///
///
/// Gets or sets the transformation of the element.
/// Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the element.
/// Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Element: function() {
///
/// Constructor of kendo.drawing.Element
///
}
});
kendo.drawing.Element = (function() {
var original = kendo.drawing.Element;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function() {
///
///
/// Returns the bounding box of the element with transformations applied.
///
/// The bounding box of the element with transformations applied.
///
},
clip: function(clip) {
///
///
/// Gets or sets the element clipping path.
///
/// The element clipping path.
/// The current element clipping path.
///
},
clippedBBox: function() {
///
///
/// Returns the bounding box of the element with clipping and transformations applied.This is the rectangle that will fit around the actual rendered element.
///
/// The bounding box of the element with clipping and transformations applied.
///
},
opacity: function(opacity) {
///
///
/// Gets or sets the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
///
},
transform: function(transform) {
///
///
/// Gets or sets the transformation of the element.
///
/// The transformation to apply to the element.
/// The current transformation on the element.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the element.
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
FillOptions: function() {
///
/// Constructor of kendo.drawing.FillOptions
///
}
});
kendo.drawing.FillOptions = (function() {
var original = kendo.drawing.FillOptions;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Gradient: function() {
///
/// Constructor of kendo.drawing.Gradient
///
}
});
kendo.drawing.Gradient = (function() {
var original = kendo.drawing.Gradient;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
addStop: function(offset,color,opacity) {
///
///
/// Adds a color stop to the gradient.
///
/// The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).
/// The color in any of the following formats.| Format | Description | --- | --- | --- | red | Basic or Extended CSS Color name | #ff0000 | Hex RGB value | rgb(255, 0, 0) | RGB valueSpecifying 'none', 'transparent' or '' (empty string) will clear the fill.
/// The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The new gradient color stop.
///
},
removeStop: function(stop) {
///
///
/// Removes a color stop from the gradient.
///
/// The gradient color stop to remove.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
GradientStop: function() {
///
/// Constructor of kendo.drawing.GradientStop
///
}
});
kendo.drawing.GradientStop = (function() {
var original = kendo.drawing.GradientStop;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Group: function() {
///
/// Constructor of kendo.drawing.Group
///
}
});
kendo.drawing.Group = (function() {
var original = kendo.drawing.Group;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
append: function(element) {
///
///
/// Appends the specified element as a last child of the group.
///
/// The element to append. Multiple parameters are accepted.
///
},
clear: function() {
///
///
/// Removes all child elements from the group.
///
///
},
clip: function(clip) {
///
///
/// Gets or sets the group clipping path.
/// Inherited from Element.clip
///
/// The group clipping path.
/// The current group clipping path.
///
},
clippedBBox: function() {
///
///
/// Returns the bounding box of the element with clipping and transformations applied.
/// Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
///
},
insert: function(position,element) {
///
///
/// Inserts an element at the specified position.
///
/// The position to insert the element at. Existing children beyond this position will be shifted right.
/// The element to insert.
///
},
opacity: function(opacity) {
///
///
/// Gets or sets the group opacity.
/// Inherited from Element.opacityThe opacity of any child groups and elements will be multiplied by this value.
///
/// The group opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current group opacity.
///
},
remove: function(element) {
///
///
/// Removes the specified element from the group.
///
/// The element to remove.
///
},
removeAt: function(index) {
///
///
/// Removes the child element at the specified position.
///
/// The index at which the element currently resides.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the element.
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Image: function() {
///
/// Constructor of kendo.drawing.Image
///
}
});
kendo.drawing.Image = (function() {
var original = kendo.drawing.Image;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function() {
///
///
/// Returns the bounding box of the element with transformations applied.
/// Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
///
},
clip: function(clip) {
///
///
/// Gets or sets the element clipping path.
/// Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
///
},
clippedBBox: function() {
///
///
/// Returns the bounding box of the element with clipping and transformations applied.
/// Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
///
},
opacity: function(opacity) {
///
///
/// Gets or sets the element opacity.
/// Inherited from Element.opacity
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
///
},
src: function(value) {
///
///
/// Gets or sets the image source URL.
///
/// The new source URL.
/// The current image source URL.
///
},
rect: function(value) {
///
///
/// Gets or sets the rectangle defines the image position and size.
///
/// The new image rectangle.
/// The current image rectangle.
///
},
transform: function(transform) {
///
///
/// Gets or sets the transformation of the element.
/// Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the element.
/// Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Layout: function() {
///
/// Constructor of kendo.drawing.Layout
///
}
});
kendo.drawing.Layout = (function() {
var original = kendo.drawing.Layout;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
rect: function(rect) {
///
///
/// Gets or sets the layout rectangle.
///
/// The layout rectangle.
/// The current rectangle.
///
},
reflow: function() {
///
///
/// Arranges the elements based on the current options.
///
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
LinearGradient: function() {
///
/// Constructor of kendo.drawing.LinearGradient
///
}
});
kendo.drawing.LinearGradient = (function() {
var original = kendo.drawing.LinearGradient;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
addStop: function(offset,color,opacity) {
///
///
/// Adds a color stop to the gradient.
/// Inherited from Gradient.addStop
///
///
/// The color of the stop.
/// The fill opacity.
/// The new gradient color stop.
///
},
end: function(end) {
///
///
/// Gets or sets the end point of the gradient.
///
/// The end point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
/// The current end point of the gradient.
///
},
start: function(start) {
///
///
/// Gets or sets the start point of the gradient.
///
/// The start point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
/// The current start point of the gradient.
///
},
removeStop: function(stop) {
///
///
/// Removes a color stop from the gradient.
/// Inherited from Gradient.removeStop
///
/// The gradient color stop to remove.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
MultiPath: function() {
///
/// Constructor of kendo.drawing.MultiPath
///
}
});
kendo.drawing.MultiPath = (function() {
var original = kendo.drawing.MultiPath;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function() {
///
///
/// Returns the bounding box of the element with transformations applied.
/// Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
///
},
clip: function(clip) {
///
///
/// Gets or sets the element clipping path.
/// Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
///
},
clippedBBox: function() {
///
///
/// Returns the bounding box of the element with clipping and transformations applied.
/// Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
///
},
close: function() {
///
///
/// Closes the current sub-path by linking its current end point with its start point.
///
/// The current instance to allow chaining.
///
},
curveTo: function(controlOut,controlIn,endPoint) {
///
///
/// Draws a cubic Bézier curve (with two control points).A quadratic Bézier curve (with one control point) can be plotted by making the control point equal.
///
/// The first control point for the curve.
/// The second control point for the curve.
/// The curve end point.
/// The current instance to allow chaining.
///
},
fill: function(color,opacity) {
///
///
/// Sets the shape fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
///
},
lineTo: function(x,y) {
///
///
/// Draws a straight line to the specified absolute coordinates.
///
/// The line end X coordinate or a Point/Array with X and Y coordinates.
/// The line end Y coordinate.Optional if the first parameter is a Point/Array.
/// The current instance to allow chaining.
///
},
moveTo: function(x,y) {
///
///
/// Creates a new sub-path or clears all segments and moves the starting point to the specified absolute coordinates.
///
/// The starting X coordinate or a Point/Array with X and Y coordinates.
/// The starting Y coordinate.Optional if the first parameter is a Point/Array.
/// The current instance to allow chaining.
///
},
opacity: function(opacity) {
///
///
/// Gets or sets the element opacity.
/// Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
///
},
stroke: function(color,width,opacity) {
///
///
/// Sets the shape stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
///
},
transform: function(transform) {
///
///
/// Gets or sets the transformation of the element.
/// Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the element.
/// Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
OptionsStore: function() {
///
/// Constructor of kendo.drawing.OptionsStore
///
}
});
kendo.drawing.OptionsStore = (function() {
var original = kendo.drawing.OptionsStore;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
get: function(field) {
///
///
/// Gets the value of the specified option.
///
/// The field name to retrieve. Must be a fully qualified name (e.g. "foo.bar") for nested options.
/// The current option value.
///
},
set: function(field,value) {
///
///
/// Sets the value of the specified option.
///
/// The name of the option to set. Must be a fully qualified name (e.g. "foo.bar") for nested options.
/// The new option value.If the new value is exactly the same as the new value the operation will not trigger options change on the observer (if any).
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
PDFOptions: function() {
///
/// Constructor of kendo.drawing.PDFOptions
///
}
});
kendo.drawing.PDFOptions = (function() {
var original = kendo.drawing.PDFOptions;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Path: function() {
///
/// Constructor of kendo.drawing.Path
///
}
});
kendo.drawing.Path = (function() {
var original = kendo.drawing.Path;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function() {
///
///
/// Returns the bounding box of the element with transformations applied.
/// Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
///
},
clip: function(clip) {
///
///
/// Gets or sets the element clipping path.
/// Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
///
},
clippedBBox: function() {
///
///
/// Returns the bounding box of the element with clipping and transformations applied.
/// Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
///
},
close: function() {
///
///
/// Closes the path by linking the current end point with the start point.
///
/// The current instance to allow chaining.
///
},
curveTo: function(controlOut,controlIn,endPoint) {
///
///
/// Draws a cubic Bézier curve (with two control points).A quadratic Bézier curve (with one control point) can be plotted by making the control point equal.
///
/// The first control point for the curve.
/// The second control point for the curve.
/// The curve end point.
/// The current instance to allow chaining.
///
},
fill: function(color,opacity) {
///
///
/// Sets the shape fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
///
},
lineTo: function(x,y) {
///
///
/// Draws a straight line to the specified absolute coordinates.
///
/// The line end X coordinate or a Point/Array with X and Y coordinates.
/// The line end Y coordinate.Optional if the first parameter is a Point/Array.
/// The current instance to allow chaining.
///
},
moveTo: function(x,y) {
///
///
/// Clears all existing segments and moves the starting point to the specified absolute coordinates.
///
/// The starting X coordinate or a Point/Array with X and Y coordinates.
/// The starting Y coordinate.Optional if the first parameter is a Point/Array.
/// The current instance to allow chaining.
///
},
opacity: function(opacity) {
///
///
/// Gets or sets the element opacity.
/// Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
///
},
stroke: function(color,width,opacity) {
///
///
/// Sets the shape stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
///
},
transform: function(transform) {
///
///
/// Gets or sets the transformation of the element.
/// Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the element.
/// Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
RadialGradient: function() {
///
/// Constructor of kendo.drawing.RadialGradient
///
}
});
kendo.drawing.RadialGradient = (function() {
var original = kendo.drawing.RadialGradient;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
addStop: function(offset,color,opacity) {
///
///
/// Adds a color stop to the gradient.
/// Inherited from Gradient.addStop
///
///
/// The color of the stop.
/// The fill opacity.
/// The new gradient color stop.
///
},
center: function(center) {
///
///
/// Gets or sets the center point of the gradient.
///
/// The center point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
/// The current radius of the gradient.
///
},
radius: function(value) {
///
///
/// Gets or sets the radius of the gradient.
///
/// The new radius of the gradient.
/// The current radius of the gradient.
///
},
removeStop: function(stop) {
///
///
/// Removes a color stop from the gradient.
/// Inherited from Gradient.removeStop
///
/// The gradient color stop to remove.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Rect: function() {
///
/// Constructor of kendo.drawing.Rect
///
}
});
kendo.drawing.Rect = (function() {
var original = kendo.drawing.Rect;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function() {
///
///
/// Returns the bounding box of the element with transformations applied.
/// Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
///
},
clip: function(clip) {
///
///
/// Gets or sets the element clipping path.
/// Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
///
},
clippedBBox: function() {
///
///
/// Returns the bounding box of the element with clipping and transformations applied.
/// Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
///
},
geometry: function(value) {
///
///
/// Gets or sets the rectangle geometry.
///
/// The new geometry to use.
/// The current rectangle geometry.
///
},
fill: function(color,opacity) {
///
///
/// Sets the shape fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
///
},
opacity: function(opacity) {
///
///
/// Gets or sets the element opacity.
/// Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
///
},
stroke: function(color,width,opacity) {
///
///
/// Sets the shape stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
///
},
transform: function(transform) {
///
///
/// Gets or sets the transformation of the element.
/// Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the element.
/// Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Segment: function() {
///
/// Constructor of kendo.drawing.Segment
///
}
});
kendo.drawing.Segment = (function() {
var original = kendo.drawing.Segment;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
anchor: function(value) {
///
///
/// Gets or sets the segment anchor point.The setter returns the current Segment to allow chaining.
///
/// The new anchor point.
/// The current anchor point.
///
},
controlIn: function(value) {
///
///
/// Gets or sets the first curve control point of this segment.The setter returns the current Segment to allow chaining.
///
/// The new control point.
/// The current control point.
///
},
controlOut: function(value) {
///
///
/// Gets or sets the second curve control point of this segment.The setter returns the current Segment to allow chaining.
///
/// The new control point.
/// The current control point.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
StrokeOptions: function() {
///
/// Constructor of kendo.drawing.StrokeOptions
///
}
});
kendo.drawing.StrokeOptions = (function() {
var original = kendo.drawing.StrokeOptions;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Surface: function() {
///
/// Constructor of kendo.drawing.Surface
///
}
});
kendo.drawing.Surface = (function() {
var original = kendo.drawing.Surface;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
clear: function() {
///
///
/// Clears the drawing surface.
///
///
},
draw: function(element) {
///
///
/// Draws the element and its children on the surface.
/// Existing elements will remain visible.
///
/// The element to draw.
///
},
eventTarget: function(e) {
///
///
/// Returns the target drawing element of a DOM event.
///
/// The original DOM or jQuery event object.
/// The target drawing element, if any.
///
},
resize: function(force) {
///
///
/// Resizes the surface to match the size of the container.
///
/// Whether to proceed with resizing even if the container dimensions have not changed.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.drawing, {
Text: function() {
///
/// Constructor of kendo.drawing.Text
///
}
});
kendo.drawing.Text = (function() {
var original = kendo.drawing.Text;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function() {
///
///
/// Returns the bounding box of the element with transformations applied.
/// Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
///
},
clip: function(clip) {
///
///
/// Gets or sets the element clipping path.
/// Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
///
},
clippedBBox: function() {
///
///
/// Returns the bounding box of the element with clipping and transformations applied.
/// Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
///
},
content: function(value) {
///
///
/// Gets or sets the text content.
///
/// The new text content to set.
/// The current content of the text.
///
},
fill: function(color,opacity) {
///
///
/// Sets the text fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
///
},
opacity: function(opacity) {
///
///
/// Gets or sets the element opacity.
/// Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
///
},
position: function(value) {
///
///
/// Gets or sets the position of the text upper left corner.
///
/// The new position of the text upper left corner.
/// The current position of the text upper left corner.
///
},
stroke: function(color,width,opacity) {
///
///
/// Sets the text stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
///
},
transform: function(transform) {
///
///
/// Gets or sets the transformation of the element.
/// Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
///
},
visible: function(visible) {
///
///
/// Gets or sets the visibility of the element.
/// Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.geometry, {
Arc: function() {
///
/// Constructor of kendo.geometry.Arc
///
}
});
kendo.geometry.Arc = (function() {
var original = kendo.geometry.Arc;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function(matrix) {
///
///
/// Returns the bounding box of this arc after applying the specified transformation matrix.
///
/// Transformation matrix to apply.
/// The bounding box after applying the transformation matrix.
///
},
getAnticlockwise: function() {
///
///
/// Gets the arc anticlokwise flag.
///
/// The anticlokwise flag of the arc.
///
},
getCenter: function() {
///
///
/// Gets the arc center location.
///
/// The location of the arc center.
///
},
getEndAngle: function() {
///
///
/// Gets the end angle of the arc in decimal degrees.
/// Measured in clockwise direction with 0 pointing "right".
///
/// The end angle of the arc.
///
},
getRadiusX: function() {
///
///
/// Gets the x radius of the arc.
///
/// The x radius of the arc.
///
},
getRadiusY: function() {
///
///
/// Gets the y radius of the arc.
///
/// The y radius of the arc.
///
},
getStartAngle: function() {
///
///
/// Gets the start angle of the arc in decimal degrees.
/// Measured in clockwise direction with 0 pointing "right".
///
/// The start angle of the arc.
///
},
pointAt: function(angle) {
///
///
/// Gets the location of a point on the arc's circumference at a given angle.
///
/// Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The point on the arc's circumference.
///
},
setAnticlockwise: function(value) {
///
///
/// Sets the arc anticlokwise flag.
///
/// The new anticlockwise value.
/// The current arc instance.
///
},
setCenter: function(value) {
///
///
/// Sets the arc center location.
///
/// The new arc center.
/// The current arc instance.
///
},
setEndAngle: function(value) {
///
///
/// Sets the end angle of the arc in decimal degrees.
/// Measured in clockwise direction with 0 pointing "right".
///
/// The new arc end angle.
/// The current arc instance.
///
},
setRadiusX: function(value) {
///
///
/// Sets the x radius of the arc.
///
/// The new arc x radius.
/// The current arc instance.
///
},
setRadiusY: function(value) {
///
///
/// Sets the y radius of the arc.
///
/// The new arc y radius.
/// The current arc instance.
///
},
setStartAngle: function(value) {
///
///
/// Sets the start angle of the arc in decimal degrees.
/// Measured in clockwise direction with 0 pointing "right".
///
/// The new arc atart angle.
/// The current arc instance.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.geometry, {
Circle: function() {
///
/// Constructor of kendo.geometry.Circle
///
}
});
kendo.geometry.Circle = (function() {
var original = kendo.geometry.Circle;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function(matrix) {
///
///
/// Returns the bounding box of this circle after applying the
/// specified transformation matrix.
///
/// Transformation matrix to apply.
/// The bounding box after applying the transformation matrix.
///
},
clone: function() {
///
///
/// Creates a new instance with the same center and radius.
///
/// A new Circle instance with the same center and radius.
///
},
equals: function(other) {
///
///
/// Compares this circle with another instance.
///
/// The circle to compare with.
/// true if the point coordinates match; false otherwise.
///
},
getCenter: function() {
///
///
/// Gets the circle center location.
///
/// The location of the circle center.
///
},
getRadius: function() {
///
///
/// Gets the circle radius.
///
/// The radius of the circle.
///
},
pointAt: function(angle) {
///
///
/// Gets the location of a point on the circle's circumference at a given angle.
///
/// Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The point on the circle's circumference.
///
},
setCenter: function(value) {
///
///
/// Sets the location of the circle center.
///
/// The new center Point or equivalent [x, y] array.
/// The location of the circle center.
///
},
setRadius: function(value) {
///
///
/// Sets the circle radius.
///
/// The new circle radius.
/// The current circle instance.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.geometry, {
Matrix: function() {
///
/// Constructor of kendo.geometry.Matrix
///
}
});
kendo.geometry.Matrix = (function() {
var original = kendo.geometry.Matrix;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
clone: function() {
///
///
/// Creates a new instance with the same element values.
///
/// A new Matrix instance with the same element values.
///
},
equals: function(other) {
///
///
/// Compares this matrix with another instance.
///
/// The matrix instance to compare with.
/// true if the matrix elements match; false otherwise.
///
},
round: function(digits) {
///
///
/// Rounds the matrix elements to the specified number of fractional digits.
///
/// Number of fractional digits.
/// The current matrix instance.
///
},
multiplyCopy: function(matrix) {
///
///
/// Multiplies the matrix with another one and returns the result as new instance.
/// The current instance elements are not altered.
///
/// The matrix to multiply by.
/// The result of the multiplication.
///
},
toArray: function(digits) {
///
///
/// Returns the matrix elements as an [a, b, c, d, e, f] array.
///
/// (Optional) Number of fractional digits.
/// An array representation of the matrix.
///
},
toString: function(digits,separator) {
///
///
/// Formats the matrix elements as a string.
///
/// (Optional) Number of fractional digits.
/// The separator to place between elements.
/// A string representation of the matrix, e.g. "1, 0, 0, 1, 0, 0".
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.geometry, {
Point: function() {
///
/// Constructor of kendo.geometry.Point
///
}
});
kendo.geometry.Point = (function() {
var original = kendo.geometry.Point;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
clone: function() {
///
///
/// Creates a new instance with the same coordinates.
///
/// A new Point instance with the same coordinates.
///
},
distanceTo: function(point) {
///
///
/// Calculates the distance to another point.
///
/// The point to calculate the distance to.
/// The straight line distance to the given point.
///
},
equals: function(other) {
///
///
/// Compares this point with another instance.
///
/// The point to compare with.
/// true if the point coordinates match; false otherwise.
///
},
getX: function() {
///
///
/// Gets the x coordinate value.
///
/// The current x coordinate value.
///
},
getY: function() {
///
///
/// Gets the y coordinate value.
///
/// The current y coordinate value.
///
},
move: function(x,y) {
///
///
/// Moves the point to the specified x and y coordinates.
///
/// The new X coordinate.
/// The new Y coordinate.
/// The current point instance.
///
},
rotate: function(angle,center) {
///
///
/// Rotates the point around the given center.
///
/// Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The rotation center. Can be a Point instance or an [x, y] array.
/// The current Point instance.
///
},
round: function(digits) {
///
///
/// Rounds the point coordinates to the specified number of fractional digits.
///
/// Number of fractional digits.
/// The current Point instance.
///
},
scale: function(scaleX,scaleY) {
///
///
/// Scales the point coordinates along the x and y axis.
///
/// The x scale multiplier.
/// The y scale multiplier.
/// The current point instance.
///
},
scaleCopy: function(scaleX,scaleY) {
///
///
/// Scales the point coordinates on a copy of the current point.
/// The callee coordinates will remain unchanged.
///
/// The x scale multiplier.
/// The y scale multiplier.
/// The new Point instance.
///
},
setX: function(value) {
///
///
/// Sets the x coordinate to a new value.
///
/// The new x coordinate value.
/// The current Point instance.
///
},
setY: function(value) {
///
///
/// Sets the y coordinate to a new value.
///
/// The new y coordinate value.
/// The current Point instance.
///
},
toArray: function(digits) {
///
///
/// Returns the point coordinates as an [x, y] array.
///
/// (Optional) Number of fractional digits.
/// An array representation of the point, e.g. [10, 20]
///
},
toString: function(digits,separator) {
///
///
/// Formats the point value to a string.
///
/// (Optional) Number of fractional digits.
/// The separator to place between coordinates.
/// A string representation of the point, e.g. "10 20".
///
},
transform: function(tansformation) {
///
///
/// Applies a transformation to the point coordinates.
/// The current coordinates will be overriden.
///
/// The transformation to apply.
/// The current Point instance.
///
},
transformCopy: function(tansformation) {
///
///
/// Applies a transformation on a copy of the current point.
/// The callee coordinates will remain unchanged.
///
/// The transformation to apply.
/// The new Point instance.
///
},
translate: function(dx,dy) {
///
///
/// Translates the point along the x and y axis.
///
/// The distance to move along the X axis.
/// The distance to move along the Y axis.
/// The current point instance.
///
},
translateWith: function(vector) {
///
///
/// Translates the point by using a Point instance as a vector of translation.
///
/// The vector of translation. Can be either a Point instance or an [x, y] array.
/// The current point instance.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.geometry, {
Rect: function() {
///
/// Constructor of kendo.geometry.Rect
///
}
});
kendo.geometry.Rect = (function() {
var original = kendo.geometry.Rect;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bbox: function(matrix) {
///
///
/// Returns the bounding box of this rectangle after applying the
/// specified transformation matrix.
///
/// Transformation matrix to apply.
/// The bounding box after applying the transformation matrix.
///
},
bottomLeft: function() {
///
///
/// Gets the position of the bottom-left corner of the rectangle.
/// This is also the rectangle origin
///
/// The position of the bottom-left corner.
///
},
bottomRight: function() {
///
///
/// Gets the position of the bottom-right corner of the rectangle.
///
/// The position of the bottom-right corner.
///
},
center: function() {
///
///
/// Gets the position of the center of the rectangle.
///
/// The position of the center.
///
},
clone: function() {
///
///
/// Creates a new instance with the same origin and size.
///
/// A new Rect instance with the same origin and size.
///
},
equals: function(other) {
///
///
/// Compares this rectangle with another instance.
///
/// The rectangle to compare with.
/// true if the origin and size is the same for both rectangles; false otherwise.
///
},
getOrigin: function() {
///
///
/// Gets the origin (top-left point) of the rectangle.
///
/// The origin (top-left point).
///
},
getSize: function() {
///
///
/// Gets the rectangle size.
///
/// The current rectangle Size.
///
},
height: function() {
///
///
/// Gets the rectangle height.
///
/// The rectangle height.
///
},
setOrigin: function(value) {
///
///
/// Sets the origin (top-left point) of the rectangle.
///
/// The new origin Point or equivalent [x, y] array.
/// The current rectangle instance.
///
},
setSize: function(value) {
///
///
/// Sets the rectangle size.
///
/// The new rectangle Size or equivalent [width, height] array.
/// The current rectangle instance.
///
},
topLeft: function() {
///
///
/// Gets the position of the top-left corner of the rectangle.
/// This is also the rectangle origin
///
/// The position of the top-left corner.
///
},
topRight: function() {
///
///
/// Gets the position of the top-right corner of the rectangle.
///
/// The position of the top-right corner.
///
},
width: function() {
///
///
/// Gets the rectangle width.
///
/// The rectangle width.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.geometry, {
Size: function() {
///
/// Constructor of kendo.geometry.Size
///
}
});
kendo.geometry.Size = (function() {
var original = kendo.geometry.Size;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
clone: function() {
///
///
/// Creates a new instance with the same width and height.
///
/// A new Size instance with the same coordinates.
///
},
equals: function(other) {
///
///
/// Compares this Size with another instance.
///
/// The Size to compare with.
/// true if the size members match; false otherwise.
///
},
getWidth: function() {
///
///
/// Gets the width value.
///
/// The current width value.
///
},
getHeight: function() {
///
///
/// Gets the height value.
///
/// The current height value.
///
},
setWidth: function(value) {
///
///
/// Sets the width to a new value.
///
/// The new width value.
/// The current Size instance.
///
},
setHeight: function(value) {
///
///
/// Sets the height to a new value.
///
/// The new height value.
/// The current Size instance.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.geometry, {
Transformation: function() {
///
/// Constructor of kendo.geometry.Transformation
///
}
});
kendo.geometry.Transformation = (function() {
var original = kendo.geometry.Transformation;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
clone: function() {
///
///
/// Creates a new instance with the same transformation matrix.
///
/// A new Transformation instance with the same matrix.
///
},
equals: function(other) {
///
///
/// Compares this transformation with another instance.
///
/// The transformation to compare with.
/// true if the transformation matrix is the same; false otherwise.
///
},
matrix: function() {
///
///
/// Gets the current transformation matrix for this transformation.
///
/// The current transformation matrix.
///
},
multiply: function(transformation) {
///
///
/// Multiplies the transformation with another.
/// The underlying transformation matrix is updated in-place.
///
/// The transformation to multiply by.
/// The current transformation instance.
///
},
rotate: function(angle,center) {
///
///
/// Sets rotation with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
/// The current transformation instance.
///
},
scale: function(scaleX,scaleY) {
///
///
/// Sets scale with the specified parameters.
///
/// The scale factor on the X axis.
/// The scale factor on the Y axis.
/// The current transformation instance.
///
},
translate: function(x,y) {
///
///
/// Sets translation with the specified parameters.
///
/// The distance to translate along the X axis.
/// The distance to translate along the Y axis.
/// The current transformation instance.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.ooxml, {
Workbook: function() {
///
/// Constructor of kendo.ooxml.Workbook
///
}
});
kendo.ooxml.Workbook = (function() {
var original = kendo.ooxml.Workbook;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
toDataURL: function() {
///
///
/// Creates an Excel file that represents the current workbook and returns it as a data URL.
///
/// the Excel file as data URL.
///
},
bind: function(event, callback) {
///
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();