From 491218a976cac882a4b545f634eaeb18508f3e34 Mon Sep 17 00:00:00 2001 From: William Ngan Date: Fri, 24 Aug 2018 01:59:07 -0700 Subject: [PATCH] Update typings and docs --- dist/files/Op.d.ts | 1 + dist/files/Op.js | 8 + dist/files/Space.js | 2 +- dist/files/Types.d.ts | 2 +- dist/files/UI.d.ts | 81 +- dist/files/UI.js | 231 ++++- dist/files/_lib.d.ts | 1 + dist/files/_lib.js | 1 + dist/files/_module.d.ts | 1 + dist/files/_module.js | 1 + dist/pts.d.ts | 77 +- docs/json/class/Canvas_CanvasForm.json | 88 +- docs/json/class/Canvas_CanvasSpace.json | 94 +- docs/json/class/Color_Color.json | 256 ++--- docs/json/class/Create_Create.json | 16 +- docs/json/class/Create_Delaunay.json | 140 +-- docs/json/class/Create_Noise.json | 170 ++-- docs/json/class/Dom_DOMSpace.json | 92 +- docs/json/class/Dom_HTMLForm.json | 90 +- docs/json/class/Dom_HTMLSpace.json | 94 +- docs/json/class/Form_Font.json | 18 +- docs/json/class/Form_Form.json | 4 +- docs/json/class/Form_VisualForm.json | 48 +- docs/json/class/Op_Circle.json | 70 +- docs/json/class/Op_Curve.json | 48 +- docs/json/class/Op_Polygon.json | 80 +- docs/json/class/Op_Triangle.json | 48 +- docs/json/class/Physics_Body.json | 150 +-- docs/json/class/Physics_Particle.json | 186 ++-- docs/json/class/Physics_World.json | 34 +- docs/json/class/Pt_Bound.json | 160 ++-- docs/json/class/Pt_Group.json | 146 +-- docs/json/class/Pt_Pt.json | 168 ++-- docs/json/class/Space_MultiTouchSpace.json | 68 +- docs/json/class/Space_Space.json | 56 +- docs/json/class/Svg_SVGForm.json | 92 +- docs/json/class/Svg_SVGSpace.json | 94 +- docs/json/class/Types_AnimateCallbackFn.json | 2 +- docs/json/class/Types_ColorType.json | 2 +- docs/json/class/Types_DOMFormContext.json | 2 +- docs/json/class/Types_DelaunayMesh.json | 2 +- docs/json/class/Types_DelaunayShape.json | 2 +- docs/json/class/Types_GroupLike.json | 2 +- docs/json/class/Types_IPlayer.json | 12 +- docs/json/class/Types_IPt.json | 10 +- docs/json/class/Types_ISpacePlayers.json | 2 +- docs/json/class/Types_ITimer.json | 8 +- docs/json/class/Types_IntersectContext.json | 2 +- docs/json/class/Types_MultiTouchElement.json | 6 +- docs/json/class/Types_PtLike.json | 2 +- .../Types_PtsCanvasRenderingContext2D.json | 146 +-- docs/json/class/Types_TouchPointsKey.json | 2 +- docs/json/class/Types_UIHandler.json | 4 +- docs/json/class/Types_WarningType.json | 2 +- docs/json/class/Typography_Typography.json | 10 +- docs/json/class/UI_UI.json | 450 ++++++++- docs/json/class/UI_UIButton.json | 547 +++++++++-- docs/json/class/UI_UIDragger.json | 903 ++++++++++++++++++ docs/json/class/UI_UIPointerActions.json | 86 +- docs/json/class/UI_UIShape.json | 50 +- docs/json/class/Util_Const.json | 58 +- docs/json/class/Util_Util.json | 22 +- docs/json/modules.json | 5 +- docs/json/search.json | 404 ++++++-- 64 files changed, 3970 insertions(+), 1689 deletions(-) create mode 100644 docs/json/class/UI_UIDragger.json diff --git a/dist/files/Op.d.ts b/dist/files/Op.d.ts index 4f48e2db..e0c14964 100644 --- a/dist/files/Op.d.ts +++ b/dist/files/Op.d.ts @@ -47,6 +47,7 @@ export declare class Rectangle { } export declare class Circle { static fromRect(pts: GroupLike, enclose?: boolean): Group; + static fromTriangle(pts: GroupLike, enclose?: boolean): Group; static fromCenter(pt: PtLike, radius: number): Group; static withinBound(pts: GroupLike, pt: PtLike, threshold?: number): boolean; static intersectRay2D(pts: GroupLike, ray: GroupLike): Group; diff --git a/dist/files/Op.js b/dist/files/Op.js index 6a45439a..69c1986f 100644 --- a/dist/files/Op.js +++ b/dist/files/Op.js @@ -288,6 +288,14 @@ class Circle { } return new Pt_1.Group(Rectangle.center(pts), new Pt_1.Pt(r, r)); } + static fromTriangle(pts, enclose = false) { + if (enclose) { + return Triangle.circumcircle(pts); + } + else { + return Triangle.incircle(pts); + } + } static fromCenter(pt, radius) { return new Pt_1.Group(new Pt_1.Pt(pt), new Pt_1.Pt(radius, radius)); } diff --git a/dist/files/Space.js b/dist/files/Space.js index 46880fdf..c44a97cc 100644 --- a/dist/files/Space.js +++ b/dist/files/Space.js @@ -212,7 +212,7 @@ class MultiTouchSpace extends Space { _mouseUp(evt) { this._mouseAction(UI_1.UIPointerActions.up, evt); if (this._dragged) - this._mouseAction(UI_1.UIPointerActions.down, evt); + this._mouseAction(UI_1.UIPointerActions.drop, evt); this._pressed = false; this._dragged = false; return false; diff --git a/dist/files/Types.d.ts b/dist/files/Types.d.ts index 7c1be693..562ef83a 100644 --- a/dist/files/Types.d.ts +++ b/dist/files/Types.d.ts @@ -67,5 +67,5 @@ export declare type IntersectContext = { edge: Group; other?: any; }; -export declare type UIHandler = (pt: Pt, target: UI, type: string) => void; +export declare type UIHandler = (target: UI, pt: PtLike, type: string) => void; export declare type WarningType = "error" | "warn" | "mute"; diff --git a/dist/files/UI.d.ts b/dist/files/UI.d.ts index 26f18177..fed34e7e 100644 --- a/dist/files/UI.d.ts +++ b/dist/files/UI.d.ts @@ -1,46 +1,81 @@ -import { Pt, Group } from "./Pt"; -import { UIHandler } from "./Types"; -export declare enum UIShape { - Rectangle = 0, - Circle = 1, - Polygon = 2, - Polyline = 3, - Line = 4 -} +import { Group } from "./Pt"; +import { UIHandler, GroupLike, PtLike } from "./Types"; +export declare const UIShape: { + rectangle: string; + circle: string; + polygon: string; + polyline: string; + line: string; +}; export declare const UIPointerActions: { up: string; down: string; move: string; drag: string; + uidrag: string; drop: string; over: string; out: string; + enter: string; + leave: string; + all: string; }; export declare class UI { - group: Group; - shape: UIShape; + _group: Group; + _shape: string; + protected static _counter: number; protected _id: string; protected _actions: { - [key: string]: UIHandler; + [key: string]: UIHandler[]; }; protected _states: { [key: string]: any; }; - constructor(group: Group, shape: UIShape, states: {}, id?: string); + protected _holds: string[]; + constructor(group: GroupLike, shape: string, states?: { + [key: string]: any; + }, id?: string); + static fromRectangle(group: GroupLike, states: {}, id?: string): UI; + static fromCircle(group: GroupLike, states: {}, id?: string): UI; + static fromPolygon(group: GroupLike, states: {}, id?: string): UI; + static fromUI(ui: UI, states?: object, id?: string): UI; id: string; - state(key: string): any; - on(key: string, fn: UIHandler): this; - off(key: string): this; - listen(key: string, p: Pt): boolean; + group: Group; + shape: string; + state(key: string, value?: any): any; + on(key: string, fn: UIHandler): number; + off(key: string, which?: number): boolean; + listen(key: string, p: PtLike): boolean; + protected hold(key: string): number; + protected unhold(id?: number): void; + static track(uis: UI[], key: string, p: PtLike): void; render(fn: (group: Group, states: { [key: string]: any; }) => void): void; - protected _trigger(p: Pt): boolean; + toString(): string; + protected _within(p: PtLike): boolean; + protected static _trigger(fns: UIHandler[], target: UI, pt: PtLike, type: string): void; + protected static _addHandler(fns: UIHandler[], fn: UIHandler): number; + protected static _removeHandler(fns: UIHandler[], index: number): boolean; } export declare class UIButton extends UI { - _clicks: number; - constructor(group: Group, shape: UIShape, states: {}, id?: string); - readonly clicks: number; - onClick(fn: UIHandler): void; - onHover(over: UIHandler, out: UIHandler): void; + private _hoverID; + constructor(group: GroupLike, shape: string, states?: { + [key: string]: any; + }, id?: string); + onClick(fn: UIHandler): number; + offClick(id: number): boolean; + onHover(enter?: UIHandler, leave?: UIHandler): number[]; + offHover(enterID?: number, leaveID?: number): boolean[]; +} +export declare class UIDragger extends UIButton { + private _draggingID; + private _moveHoldID; + constructor(group: GroupLike, shape: string, states?: { + [key: string]: any; + }, id?: string); + onDrag(fn: UIHandler): number; + offDrag(id: number): boolean; + onDrop(fn: UIHandler): number; + offDrop(id: number): boolean; } diff --git a/dist/files/UI.js b/dist/files/UI.js index 9b4dec09..0e025eea 100644 --- a/dist/files/UI.js +++ b/dist/files/UI.js @@ -1,82 +1,239 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +const Pt_1 = require("./Pt"); const Op_1 = require("./Op"); -var UIShape; -(function (UIShape) { - UIShape[UIShape["Rectangle"] = 0] = "Rectangle"; - UIShape[UIShape["Circle"] = 1] = "Circle"; - UIShape[UIShape["Polygon"] = 2] = "Polygon"; - UIShape[UIShape["Polyline"] = 3] = "Polyline"; - UIShape[UIShape["Line"] = 4] = "Line"; -})(UIShape = exports.UIShape || (exports.UIShape = {})); +exports.UIShape = { + rectangle: "rectangle", circle: "circle", polygon: "polygon", polyline: "polyline", line: "line" +}; exports.UIPointerActions = { - up: "up", down: "down", move: "move", drag: "drag", drop: "drop", over: "over", out: "out" + up: "up", down: "down", move: "move", drag: "drag", uidrag: "uidrag", drop: "drop", over: "over", out: "out", enter: "enter", leave: "leave", all: "all" }; class UI { - constructor(group, shape, states, id) { - this.group = group; - this.shape = shape; - this._id = id; + constructor(group, shape, states = {}, id) { + this._holds = []; + this._group = Pt_1.Group.fromArray(group); + this._shape = shape; + this._id = id === undefined ? `ui_${(UI._counter++)}` : id; this._states = states; this._actions = {}; } + static fromRectangle(group, states, id) { + return new this(group, exports.UIShape.rectangle, states, id); + } + static fromCircle(group, states, id) { + return new this(group, exports.UIShape.circle, states, id); + } + static fromPolygon(group, states, id) { + return new this(group, exports.UIShape.polygon, states, id); + } + static fromUI(ui, states, id) { + return new this(ui.group, ui.shape, states || ui._states, id); + } get id() { return this._id; } set id(d) { this._id = d; } - state(key) { - return this._states[key] || false; + get group() { return this._group; } + set group(d) { this._group = d; } + get shape() { return this._shape; } + set shape(d) { this._shape = d; } + state(key, value) { + if (!key) + return null; + if (value !== undefined) { + this._states[key] = value; + return this; + } + return this._states[key] || null; } on(key, fn) { - this._actions[key] = fn; - return this; + if (!this._actions[key]) + this._actions[key] = []; + return UI._addHandler(this._actions[key], fn); } - off(key) { - delete this._actions[key]; - return this; + off(key, which) { + if (!this._actions[key]) + return false; + if (which === undefined) { + delete this._actions[key]; + return true; + } + else { + return UI._removeHandler(this._actions[key], which); + } } listen(key, p) { if (this._actions[key] !== undefined) { - if (this._trigger(p)) { - this._actions[key](p, this, key); + if (this._within(p) || this._holds.indexOf(key) >= 0) { + UI._trigger(this._actions[key], this, p, key); + return true; + } + else if (this._actions['all']) { + UI._trigger(this._actions['all'], this, p, key); return true; } } return false; } + hold(key) { + this._holds.push(key); + return this._holds.length - 1; + } + unhold(id) { + if (id !== undefined) { + this._holds = this._holds.splice(id, 1); + } + else { + this._holds = []; + } + } + static track(uis, key, p) { + for (let i = 0, len = uis.length; i < len; i++) { + uis[i].listen(key, p); + } + } render(fn) { - fn(this.group, this._states); + fn(this._group, this._states); + } + toString() { + return `UI ${this.group.toString}`; } - _trigger(p) { + _within(p) { let fn = null; - if (this.shape === UIShape.Rectangle) { + if (this._shape === exports.UIShape.rectangle) { fn = Op_1.Rectangle.withinBound; } - else if (this.shape === UIShape.Circle) { + else if (this._shape === exports.UIShape.circle) { fn = Op_1.Circle.withinBound; } - else if (this.shape === UIShape.Polygon) { - fn = Op_1.Rectangle.withinBound; + else if (this._shape === exports.UIShape.polygon) { + fn = Op_1.Polygon.hasIntersectPoint; + } + else { + return false; + } + return fn(this._group, p); + } + static _trigger(fns, target, pt, type) { + if (fns) { + for (let i = 0, len = fns.length; i < len; i++) { + if (fns[i]) + fns[i](target, pt, type); + } + } + } + static _addHandler(fns, fn) { + if (fn) { + fns.push(fn); + return fns.length - 1; + } + else { + return -1; + } + } + static _removeHandler(fns, index) { + if (index >= 0 && index < fns.length) { + let temp = fns.length; + fns.splice(index, 1); + return (temp > fns.length); } else { return false; } - return fn(this.group, p); } } +UI._counter = 0; exports.UI = UI; class UIButton extends UI { - constructor(group, shape, states, id) { + constructor(group, shape, states = {}, id) { super(group, shape, states, id); - this._clicks = 0; + this._hoverID = -1; + if (!states.hover) + states.hover = false; + if (!states.clicks) + states.hover = 0; + const UA = exports.UIPointerActions; + this.on(UA.up, (target, pt, type) => { + this.state('clicks', this._states.clicks + 1); + }); + this.on(UA.move, (target, pt, type) => { + let hover = this._within(pt); + if (hover && !this._states.hover) { + this.state('hover', true); + UI._trigger(this._actions[UA.enter], this, pt, UA.enter); + var _capID = this.hold(UA.move); + this._hoverID = this.on(UA.move, (t, p) => { + if (!this._within(p) && !this.state('dragging')) { + this.state('hover', false); + UI._trigger(this._actions[UA.leave], this, pt, UA.leave); + this.off(UA.move, this._hoverID); + this.unhold(_capID); + } + }); + } + }); } - get clicks() { return this._clicks; } onClick(fn) { - this._clicks++; - this.on(exports.UIPointerActions.up, fn); + return this.on(exports.UIPointerActions.up, fn); + } + offClick(id) { + return this.off(exports.UIPointerActions.up, id); + } + onHover(enter, leave) { + var ids = [undefined, undefined]; + if (enter) + ids[0] = this.on(exports.UIPointerActions.enter, enter); + if (leave) + ids[1] = this.on(exports.UIPointerActions.leave, leave); + return ids; } - onHover(over, out) { - this.on(exports.UIPointerActions.over, over); - this.on(exports.UIPointerActions.out, out); + offHover(enterID, leaveID) { + var s = [false, false]; + if (enterID === undefined || enterID >= 0) + s[0] = this.off(exports.UIPointerActions.enter, enterID); + if (leaveID === undefined || leaveID >= 0) + s[1] = this.off(exports.UIPointerActions.leave, leaveID); + return s; } } exports.UIButton = UIButton; +class UIDragger extends UIButton { + constructor(group, shape, states = {}, id) { + super(group, shape, states, id); + this._draggingID = -1; + this._moveHoldID = -1; + if (!states.dragging) + states.dragging = false; + if (!states.offset) + states.offset = new Pt_1.Pt(group[0]); + const UA = exports.UIPointerActions; + this.on(UA.down, (target, pt, type) => { + this.state('dragging', true); + this.state('offset', new Pt_1.Pt(pt).subtract(target.group[0])); + this._moveHoldID = this.hold(UA.move); + this._draggingID = this.on(UA.move, (t, p) => { + if (this.state('dragging')) { + UI._trigger(this._actions[UA.uidrag], t, p, UA.uidrag); + } + }); + }); + this.on(UA.up, (target, pt, type) => { + this.state('dragging', false); + this.off(UA.move, this._draggingID); + this.unhold(this._moveHoldID); + UI._trigger(this._actions[UA.drop], target, pt, type); + }); + } + onDrag(fn) { + return this.on(exports.UIPointerActions.uidrag, fn); + } + offDrag(id) { + return this.off(exports.UIPointerActions.uidrag, id); + } + onDrop(fn) { + return this.on(exports.UIPointerActions.drop, fn); + } + offDrop(id) { + return this.off(exports.UIPointerActions.drop, id); + } +} +exports.UIDragger = UIDragger; //# sourceMappingURL=UI.js.map \ No newline at end of file diff --git a/dist/files/_lib.d.ts b/dist/files/_lib.d.ts index 3baec4a5..516ec923 100644 --- a/dist/files/_lib.d.ts +++ b/dist/files/_lib.d.ts @@ -12,6 +12,7 @@ export * from "./Dom"; export * from "./Svg"; export * from "./Typography"; export * from "./Physics"; +export * from "./UI"; export * from "./Types"; export declare let namespace: (scope: any) => void; export declare let quickStart: (id: string, bg?: string) => (animate?: any, start?: any, action?: any, resize?: any) => void; diff --git a/dist/files/_lib.js b/dist/files/_lib.js index 7f0a9b5e..fe537f53 100644 --- a/dist/files/_lib.js +++ b/dist/files/_lib.js @@ -17,6 +17,7 @@ __export(require("./Dom")); __export(require("./Svg")); __export(require("./Typography")); __export(require("./Physics")); +__export(require("./UI")); const _Canvas = require("./Canvas"); exports.namespace = (scope) => { let lib = module.exports; diff --git a/dist/files/_module.d.ts b/dist/files/_module.d.ts index 4b04a275..7e54933c 100644 --- a/dist/files/_module.d.ts +++ b/dist/files/_module.d.ts @@ -12,3 +12,4 @@ export * from "./Dom"; export * from "./Svg"; export * from "./Typography"; export * from "./Physics"; +export * from "./UI"; diff --git a/dist/files/_module.js b/dist/files/_module.js index efef28ff..dc74c7e1 100644 --- a/dist/files/_module.js +++ b/dist/files/_module.js @@ -17,4 +17,5 @@ __export(require("./Dom")); __export(require("./Svg")); __export(require("./Typography")); __export(require("./Physics")); +__export(require("./UI")); //# sourceMappingURL=_module.js.map \ No newline at end of file diff --git a/dist/pts.d.ts b/dist/pts.d.ts index 5e62efe9..6f49a513 100644 --- a/dist/pts.d.ts +++ b/dist/pts.d.ts @@ -494,6 +494,7 @@ export class Rectangle { } export class Circle { static fromRect(pts: GroupLike, enclose?: boolean): Group; + static fromTriangle(pts: GroupLike, enclose?: boolean): Group; static fromCenter(pt: PtLike, radius: number): Group; static withinBound(pts: GroupLike, pt: PtLike, threshold?: number): boolean; static intersectRay2D(pts: GroupLike, ray: GroupLike): Group; @@ -942,7 +943,7 @@ export type IntersectContext = { edge: Group; other?: any; }; -export type UIHandler = (pt: Pt, target: UI, type: string) => void; +export type UIHandler = (target: UI, pt: PtLike, type: string) => void; export type WarningType = "error" | "warn" | "mute"; export class Typography { @@ -952,49 +953,81 @@ export class Typography { static fontSizeToThreshold(threshold: number, direction?: number): (a: number, b: number) => number; } -export enum UIShape { - Rectangle = 0, - Circle = 1, - Polygon = 2, - Polyline = 3, - Line = 4 -} +export const UIShape: { + rectangle: string; + circle: string; + polygon: string; + polyline: string; + line: string; +}; export const UIPointerActions: { up: string; down: string; move: string; drag: string; + uidrag: string; drop: string; over: string; out: string; + enter: string; + leave: string; + all: string; }; export class UI { - group: Group; - shape: UIShape; + _group: Group; + _shape: string; + protected static _counter: number; protected _id: string; protected _actions: { - [key: string]: UIHandler; + [key: string]: UIHandler[]; }; protected _states: { [key: string]: any; }; - constructor(group: Group, shape: UIShape, states: {}, id?: string); + protected _holds: string[]; + constructor(group: GroupLike, shape: string, states?: { + [key: string]: any; + }, id?: string); + static fromRectangle(group: GroupLike, states: {}, id?: string): UI; + static fromCircle(group: GroupLike, states: {}, id?: string): UI; + static fromPolygon(group: GroupLike, states: {}, id?: string): UI; + static fromUI(ui: UI, states?: object, id?: string): UI; id: string; - state(key: string): any; - on(key: string, fn: UIHandler): this; - off(key: string): this; - listen(key: string, p: Pt): boolean; + group: Group; + shape: string; + state(key: string, value?: any): any; + on(key: string, fn: UIHandler): number; + off(key: string, which?: number): boolean; + listen(key: string, p: PtLike): boolean; + protected hold(key: string): number; + protected unhold(id?: number): void; + static track(uis: UI[], key: string, p: PtLike): void; render(fn: (group: Group, states: { [key: string]: any; }) => void): void; - protected _trigger(p: Pt): boolean; + toString(): string; + protected _within(p: PtLike): boolean; + protected static _trigger(fns: UIHandler[], target: UI, pt: PtLike, type: string): void; + protected static _addHandler(fns: UIHandler[], fn: UIHandler): number; + protected static _removeHandler(fns: UIHandler[], index: number): boolean; } export class UIButton extends UI { - _clicks: number; - constructor(group: Group, shape: UIShape, states: {}, id?: string); - readonly clicks: number; - onClick(fn: UIHandler): void; - onHover(over: UIHandler, out: UIHandler): void; + constructor(group: GroupLike, shape: string, states?: { + [key: string]: any; + }, id?: string); + onClick(fn: UIHandler): number; + offClick(id: number): boolean; + onHover(enter?: UIHandler, leave?: UIHandler): number[]; + offHover(enterID?: number, leaveID?: number): boolean[]; +} +export class UIDragger extends UIButton { + constructor(group: GroupLike, shape: string, states?: { + [key: string]: any; + }, id?: string); + onDrag(fn: UIHandler): number; + offDrag(id: number): boolean; + onDrop(fn: UIHandler): number; + offDrop(id: number): boolean; } export const Const: { diff --git a/docs/json/class/Canvas_CanvasForm.json b/docs/json/class/Canvas_CanvasForm.json index 0b88c407..b361c6c0 100644 --- a/docs/json/class/Canvas_CanvasForm.json +++ b/docs/json/class/Canvas_CanvasForm.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 3057, + "id": 3333, "comment": "CanvasForm is an implementation of abstract class [`VisualForm`](#link). It provide methods to express Pts on [`CanvasSpace`](#link).\nYou may extend CanvasForm to implement your own expressions for CanvasSpace.", "constructor": [ { @@ -20,7 +20,7 @@ 4 ] ], - "id": 3070, + "id": 3346, "flags": {}, "overrides": false, "inherits": false, @@ -52,7 +52,7 @@ 17 ] ], - "id": 3231, + "id": 3507, "flags": {}, "overrides": false, "inherits": "VisualForm.currentFont", @@ -76,7 +76,7 @@ 12 ] ], - "id": 3221, + "id": 3497, "flags": {}, "overrides": false, "inherits": "VisualForm.filled", @@ -103,7 +103,7 @@ 11 ] ], - "id": 3268, + "id": 3544, "flags": {}, "overrides": false, "inherits": "Form.ready", @@ -122,7 +122,7 @@ 11 ] ], - "id": 3073, + "id": 3349, "flags": {}, "overrides": false, "inherits": false, @@ -146,7 +146,7 @@ 13 ] ], - "id": 3226, + "id": 3502, "flags": {}, "overrides": false, "inherits": "VisualForm.stroked", @@ -175,7 +175,7 @@ 13 ] ], - "id": 3213, + "id": 3489, "flags": {}, "overrides": false, "inherits": false, @@ -211,7 +211,7 @@ 7 ] ], - "id": 3140, + "id": 3416, "flags": {}, "overrides": "VisualForm.arc", "inherits": false, @@ -265,7 +265,7 @@ 10 ] ], - "id": 3129, + "id": 3405, "flags": {}, "overrides": "VisualForm.circle", "inherits": false, @@ -295,7 +295,7 @@ 9 ] ], - "id": 3252, + "id": 3528, "flags": {}, "overrides": false, "inherits": "VisualForm.circles", @@ -325,7 +325,7 @@ 8 ] ], - "id": 3082, + "id": 3358, "flags": {}, "overrides": "VisualForm.fill", "inherits": false, @@ -360,7 +360,7 @@ 10 ] ], - "id": 3238, + "id": 3514, "flags": {}, "overrides": false, "inherits": "VisualForm.fillOnly", @@ -390,7 +390,7 @@ 8 ] ], - "id": 3091, + "id": 3367, "flags": {}, "overrides": "VisualForm.font", "inherits": false, @@ -449,7 +449,7 @@ 21 ] ], - "id": 3098, + "id": 3374, "flags": {}, "overrides": false, "inherits": false, @@ -479,7 +479,7 @@ 16 ] ], - "id": 3101, + "id": 3377, "flags": {}, "overrides": false, "inherits": false, @@ -509,7 +509,7 @@ 9 ] ], - "id": 3183, + "id": 3459, "flags": {}, "overrides": false, "inherits": false, @@ -551,7 +551,7 @@ 8 ] ], - "id": 3160, + "id": 3436, "flags": {}, "overrides": "VisualForm.line", "inherits": false, @@ -581,7 +581,7 @@ 7 ] ], - "id": 3258, + "id": 3534, "flags": {}, "overrides": false, "inherits": "VisualForm.lines", @@ -611,7 +611,7 @@ 7 ] ], - "id": 3217, + "id": 3493, "flags": {}, "overrides": false, "inherits": false, @@ -641,7 +641,7 @@ 16 ] ], - "id": 3206, + "id": 3482, "flags": {}, "overrides": false, "inherits": false, @@ -695,7 +695,7 @@ 9 ] ], - "id": 3119, + "id": 3395, "flags": {}, "overrides": "VisualForm.point", "inherits": false, @@ -742,7 +742,7 @@ 8 ] ], - "id": 3247, + "id": 3523, "flags": {}, "overrides": false, "inherits": "VisualForm.points", @@ -784,7 +784,7 @@ 11 ] ], - "id": 3167, + "id": 3443, "flags": {}, "overrides": "VisualForm.polygon", "inherits": false, @@ -814,7 +814,7 @@ 10 ] ], - "id": 3261, + "id": 3537, "flags": {}, "overrides": false, "inherits": "VisualForm.polygons", @@ -844,7 +844,7 @@ 8 ] ], - "id": 3174, + "id": 3450, "flags": {}, "overrides": "VisualForm.rect", "inherits": false, @@ -874,7 +874,7 @@ 7 ] ], - "id": 3264, + "id": 3540, "flags": {}, "overrides": false, "inherits": "VisualForm.rects", @@ -904,7 +904,7 @@ 17 ] ], - "id": 3079, + "id": 3355, "flags": {}, "overrides": false, "inherits": false, @@ -934,7 +934,7 @@ 9 ] ], - "id": 3115, + "id": 3391, "flags": {}, "overrides": "VisualForm.reset", "inherits": false, @@ -957,7 +957,7 @@ 10 ] ], - "id": 3152, + "id": 3428, "flags": {}, "overrides": false, "inherits": false, @@ -993,7 +993,7 @@ 9 ] ], - "id": 3255, + "id": 3531, "flags": {}, "overrides": false, "inherits": "VisualForm.squares", @@ -1023,7 +1023,7 @@ 10 ] ], - "id": 3085, + "id": 3361, "flags": {}, "overrides": "VisualForm.stroke", "inherits": false, @@ -1076,7 +1076,7 @@ 12 ] ], - "id": 3241, + "id": 3517, "flags": {}, "overrides": false, "inherits": "VisualForm.strokeOnly", @@ -1124,7 +1124,7 @@ 8 ] ], - "id": 3194, + "id": 3470, "flags": {}, "overrides": "VisualForm.text", "inherits": false, @@ -1166,7 +1166,7 @@ 11 ] ], - "id": 3199, + "id": 3475, "flags": {}, "overrides": false, "inherits": false, @@ -1220,7 +1220,7 @@ 14 ] ], - "id": 3075, + "id": 3351, "flags": {}, "overrides": false, "inherits": false, @@ -1256,7 +1256,7 @@ 14 ] ], - "id": 3132, + "id": 3408, "flags": { "isStatic": true }, @@ -1318,7 +1318,7 @@ 17 ] ], - "id": 3124, + "id": 3400, "flags": { "isStatic": true }, @@ -1362,7 +1362,7 @@ 16 ] ], - "id": 3177, + "id": 3453, "flags": { "isStatic": true }, @@ -1412,7 +1412,7 @@ 15 ] ], - "id": 3156, + "id": 3432, "flags": { "isStatic": true }, @@ -1450,7 +1450,7 @@ 18 ] ], - "id": 3163, + "id": 3439, "flags": { "isStatic": true }, @@ -1488,7 +1488,7 @@ 15 ] ], - "id": 3170, + "id": 3446, "flags": { "isStatic": true }, @@ -1526,7 +1526,7 @@ 17 ] ], - "id": 3147, + "id": 3423, "flags": { "isStatic": true }, @@ -1570,7 +1570,7 @@ 15 ] ], - "id": 3188, + "id": 3464, "flags": { "isStatic": true }, diff --git a/docs/json/class/Canvas_CanvasSpace.json b/docs/json/class/Canvas_CanvasSpace.json index d0e2ef13..670b0573 100644 --- a/docs/json/class/Canvas_CanvasSpace.json +++ b/docs/json/class/Canvas_CanvasSpace.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 2872, + "id": 3148, "comment": "CanvasSpace is an implementation of the abstract class [`Space`](#link). It represents a space for HTML Canvas.\nLearn more about the concept of Space in [this guide](..guide/Space-0500.html).", "constructor": [ { @@ -20,7 +20,7 @@ 35 ] ], - "id": 2883, + "id": 3159, "flags": {}, "overrides": false, "inherits": false, @@ -68,7 +68,7 @@ 16 ] ], - "id": 2902, + "id": 3178, "flags": {}, "overrides": false, "inherits": false, @@ -100,7 +100,7 @@ 16 ] ], - "id": 2913, + "id": 3189, "flags": {}, "overrides": false, "inherits": false, @@ -127,7 +127,7 @@ 12 ] ], - "id": 3051, + "id": 3327, "flags": {}, "overrides": false, "inherits": "Space.center", @@ -146,7 +146,7 @@ 16 ] ], - "id": 2933, + "id": 3209, "flags": { "isPublic": true }, @@ -172,7 +172,7 @@ 21 ] ], - "id": 3031, + "id": 3307, "flags": {}, "overrides": false, "inherits": "Space.customRendering", @@ -199,7 +199,7 @@ 13 ] ], - "id": 2927, + "id": 3203, "flags": {}, "overrides": false, "inherits": false, @@ -218,7 +218,7 @@ 25 ] ], - "id": 2919, + "id": 3195, "flags": { "isPublic": true }, @@ -239,7 +239,7 @@ 12 ] ], - "id": 3055, + "id": 3331, "flags": {}, "overrides": false, "inherits": "Space.height", @@ -258,7 +258,7 @@ 23 ] ], - "id": 3047, + "id": 3323, "flags": { "isPublic": true }, @@ -279,7 +279,7 @@ 15 ] ], - "id": 3043, + "id": 3319, "flags": {}, "overrides": false, "inherits": "Space.isPlaying", @@ -298,7 +298,7 @@ 28 ] ], - "id": 2923, + "id": 3199, "flags": { "isPublic": true }, @@ -319,7 +319,7 @@ 25 ] ], - "id": 2921, + "id": 3197, "flags": { "isPublic": true }, @@ -340,7 +340,7 @@ 16 ] ], - "id": 3045, + "id": 3321, "flags": {}, "overrides": false, "inherits": "Space.outerBound", @@ -359,7 +359,7 @@ 12 ] ], - "id": 2929, + "id": 3205, "flags": {}, "overrides": false, "inherits": false, @@ -378,7 +378,7 @@ 23 ] ], - "id": 2917, + "id": 3193, "flags": { "isPublic": true }, @@ -399,7 +399,7 @@ 20 ] ], - "id": 2948, + "id": 3224, "flags": { "isPublic": true }, @@ -420,7 +420,7 @@ 11 ] ], - "id": 2931, + "id": 3207, "flags": {}, "overrides": false, "inherits": false, @@ -439,7 +439,7 @@ 10 ] ], - "id": 3049, + "id": 3325, "flags": {}, "overrides": false, "inherits": "Space.size", @@ -458,7 +458,7 @@ 11 ] ], - "id": 3053, + "id": 3329, "flags": {}, "overrides": false, "inherits": "Space.width", @@ -479,7 +479,7 @@ 5 ] ], - "id": 3004, + "id": 3280, "flags": {}, "overrides": false, "inherits": "Space.add", @@ -509,7 +509,7 @@ 12 ] ], - "id": 2950, + "id": 3226, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindCanvas", @@ -545,7 +545,7 @@ 11 ] ], - "id": 2958, + "id": 3234, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindMouse", @@ -580,7 +580,7 @@ 11 ] ], - "id": 2961, + "id": 3237, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindTouch", @@ -615,7 +615,7 @@ 7 ] ], - "id": 2935, + "id": 3211, "flags": {}, "overrides": "Space.clear", "inherits": false, @@ -645,7 +645,7 @@ 16 ] ], - "id": 2938, + "id": 3214, "flags": {}, "overrides": false, "inherits": false, @@ -675,7 +675,7 @@ 16 ] ], - "id": 2925, + "id": 3201, "flags": { "isPublic": true }, @@ -705,7 +705,7 @@ 7 ] ], - "id": 3017, + "id": 3293, "flags": {}, "overrides": false, "inherits": "Space.pause", @@ -735,7 +735,7 @@ 6 ] ], - "id": 3012, + "id": 3288, "flags": {}, "overrides": false, "inherits": "Space.play", @@ -765,7 +765,7 @@ 21 ] ], - "id": 2941, + "id": 3217, "flags": { "isProtected": true }, @@ -797,7 +797,7 @@ 10 ] ], - "id": 3025, + "id": 3301, "flags": {}, "overrides": false, "inherits": "Space.playOnce", @@ -827,7 +827,7 @@ 9 ] ], - "id": 3001, + "id": 3277, "flags": {}, "overrides": false, "inherits": "Space.refresh", @@ -857,7 +857,7 @@ 8 ] ], - "id": 3007, + "id": 3283, "flags": {}, "overrides": false, "inherits": "Space.remove", @@ -887,7 +887,7 @@ 11 ] ], - "id": 3010, + "id": 3286, "flags": {}, "overrides": false, "inherits": "Space.removeAll", @@ -910,7 +910,7 @@ 18 ] ], - "id": 3028, + "id": 3304, "flags": { "isProtected": true }, @@ -942,7 +942,7 @@ 8 ] ], - "id": 3015, + "id": 3291, "flags": {}, "overrides": false, "inherits": "Space.replay", @@ -965,7 +965,7 @@ 8 ] ], - "id": 2906, + "id": 3182, "flags": {}, "overrides": "Space.resize", "inherits": false, @@ -1006,7 +1006,7 @@ 8 ] ], - "id": 3020, + "id": 3296, "flags": {}, "overrides": false, "inherits": "Space.resume", @@ -1029,7 +1029,7 @@ 7 ] ], - "id": 2894, + "id": 3170, "flags": {}, "overrides": false, "inherits": false, @@ -1064,7 +1064,7 @@ 6 ] ], - "id": 3022, + "id": 3298, "flags": {}, "overrides": false, "inherits": "Space.stop", @@ -1094,7 +1094,7 @@ 17 ] ], - "id": 2964, + "id": 3240, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.touchesToPoints", @@ -1130,7 +1130,7 @@ 14 ] ], - "id": 2954, + "id": 3230, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.unbindCanvas", @@ -1169,7 +1169,7 @@ 17 ] ], - "id": 2991, + "id": 3267, "flags": { "isProtected": true }, @@ -1187,7 +1187,7 @@ 4 ] ], - "id": 2990, + "id": 3266, "flags": {}, "type": "id", "overrides": false, @@ -1203,7 +1203,7 @@ 23 ] ], - "id": 2997, + "id": 3273, "flags": { "isProtected": true }, @@ -1221,7 +1221,7 @@ 19 ] ], - "id": 2996, + "id": 3272, "flags": { "isProtected": true }, diff --git a/docs/json/class/Color_Color.json b/docs/json/class/Color_Color.json index ac1b5e01..bbb1cc8f 100644 --- a/docs/json/class/Color_Color.json +++ b/docs/json/class/Color_Color.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 3275, + "id": 3551, "comment": "Color is a subclass of Pt. Since a color in a color space is analogous to a point or vector in a space, you can apply all Pt operations to colors too. The Color class provides support for many color spaces like HSL and LAB.", "constructor": [ { @@ -20,7 +20,7 @@ 4 ] ], - "id": 3287, + "id": 3563, "flags": {}, "overrides": "Pt.__constructor", "inherits": false, @@ -57,7 +57,7 @@ 7 ] ], - "id": 3358, + "id": 3634, "flags": {}, "overrides": false, "inherits": false, @@ -84,7 +84,7 @@ 11 ] ], - "id": 3374, + "id": 3650, "flags": {}, "overrides": false, "inherits": false, @@ -108,7 +108,7 @@ 7 ] ], - "id": 3342, + "id": 3618, "flags": {}, "overrides": false, "inherits": false, @@ -140,7 +140,7 @@ 7 ] ], - "id": 3362, + "id": 3638, "flags": {}, "overrides": false, "inherits": false, @@ -172,7 +172,7 @@ 7 ] ], - "id": 3338, + "id": 3614, "flags": {}, "overrides": false, "inherits": false, @@ -204,7 +204,7 @@ 7 ] ], - "id": 3346, + "id": 3622, "flags": {}, "overrides": false, "inherits": false, @@ -231,7 +231,7 @@ 16 ] ], - "id": 3320, + "id": 3596, "flags": { "isPublic": true }, @@ -257,7 +257,7 @@ 8 ] ], - "id": 3485, + "id": 3761, "flags": {}, "overrides": false, "inherits": "Pt.id", @@ -289,7 +289,7 @@ 7 ] ], - "id": 3354, + "id": 3630, "flags": {}, "overrides": false, "inherits": false, @@ -316,7 +316,7 @@ 10 ] ], - "id": 3332, + "id": 3608, "flags": {}, "overrides": false, "inherits": false, @@ -340,7 +340,7 @@ 16 ] ], - "id": 3376, + "id": 3652, "flags": {}, "overrides": false, "inherits": false, @@ -372,7 +372,7 @@ 7 ] ], - "id": 3334, + "id": 3610, "flags": {}, "overrides": false, "inherits": false, @@ -399,7 +399,7 @@ 16 ] ], - "id": 3322, + "id": 3598, "flags": { "isPublic": true }, @@ -420,7 +420,7 @@ 17 ] ], - "id": 3324, + "id": 3600, "flags": { "isPublic": true }, @@ -446,7 +446,7 @@ 7 ] ], - "id": 3350, + "id": 3626, "flags": {}, "overrides": false, "inherits": false, @@ -478,7 +478,7 @@ 7 ] ], - "id": 3366, + "id": 3642, "flags": {}, "overrides": false, "inherits": false, @@ -510,7 +510,7 @@ 7 ] ], - "id": 3370, + "id": 3646, "flags": {}, "overrides": false, "inherits": false, @@ -542,7 +542,7 @@ 7 ] ], - "id": 3501, + "id": 3777, "flags": {}, "overrides": false, "inherits": "Pt.w", @@ -574,7 +574,7 @@ 7 ] ], - "id": 3489, + "id": 3765, "flags": {}, "overrides": false, "inherits": "Pt.x", @@ -606,7 +606,7 @@ 7 ] ], - "id": 3493, + "id": 3769, "flags": {}, "overrides": false, "inherits": "Pt.y", @@ -638,7 +638,7 @@ 7 ] ], - "id": 3497, + "id": 3773, "flags": {}, "overrides": false, "inherits": "Pt.z", @@ -667,7 +667,7 @@ 6 ] ], - "id": 3597, + "id": 3873, "flags": {}, "overrides": false, "inherits": "Pt.$abs", @@ -690,7 +690,7 @@ 6 ] ], - "id": 3549, + "id": 3825, "flags": {}, "overrides": false, "inherits": "Pt.$add", @@ -720,7 +720,7 @@ 7 ] ], - "id": 3605, + "id": 3881, "flags": {}, "overrides": false, "inherits": "Pt.$ceil", @@ -743,7 +743,7 @@ 9 ] ], - "id": 3543, + "id": 3819, "flags": {}, "overrides": false, "inherits": "Pt.$concat", @@ -773,7 +773,7 @@ 8 ] ], - "id": 3586, + "id": 3862, "flags": {}, "overrides": false, "inherits": "Pt.$cross", @@ -803,7 +803,7 @@ 10 ] ], - "id": 3583, + "id": 3859, "flags": {}, "overrides": false, "inherits": "Pt.$cross2D", @@ -833,7 +833,7 @@ 9 ] ], - "id": 3567, + "id": 3843, "flags": {}, "overrides": false, "inherits": "Pt.$divide", @@ -863,7 +863,7 @@ 8 ] ], - "id": 3601, + "id": 3877, "flags": {}, "overrides": false, "inherits": "Pt.$floor", @@ -886,7 +886,7 @@ 6 ] ], - "id": 3624, + "id": 3900, "flags": {}, "overrides": false, "inherits": "Pt.$max", @@ -916,7 +916,7 @@ 6 ] ], - "id": 3621, + "id": 3897, "flags": {}, "overrides": false, "inherits": "Pt.$min", @@ -946,7 +946,7 @@ 11 ] ], - "id": 3561, + "id": 3837, "flags": {}, "overrides": false, "inherits": "Pt.$multiply", @@ -976,7 +976,7 @@ 12 ] ], - "id": 3383, + "id": 3659, "flags": {}, "overrides": false, "inherits": false, @@ -1006,7 +1006,7 @@ 10 ] ], - "id": 3589, + "id": 3865, "flags": {}, "overrides": false, "inherits": "Pt.$project", @@ -1036,7 +1036,7 @@ 8 ] ], - "id": 3609, + "id": 3885, "flags": {}, "overrides": false, "inherits": "Pt.$round", @@ -1059,7 +1059,7 @@ 11 ] ], - "id": 3555, + "id": 3831, "flags": {}, "overrides": false, "inherits": "Pt.$subtract", @@ -1089,7 +1089,7 @@ 7 ] ], - "id": 3540, + "id": 3816, "flags": {}, "overrides": false, "inherits": "Pt.$take", @@ -1119,7 +1119,7 @@ 5 ] ], - "id": 3512, + "id": 3788, "flags": {}, "overrides": false, "inherits": "Pt.$to", @@ -1149,7 +1149,7 @@ 7 ] ], - "id": 3577, + "id": 3853, "flags": {}, "overrides": false, "inherits": "Pt.$unit", @@ -1179,7 +1179,7 @@ 5 ] ], - "id": 3595, + "id": 3871, "flags": {}, "overrides": false, "inherits": "Pt.abs", @@ -1202,7 +1202,7 @@ 5 ] ], - "id": 3546, + "id": 3822, "flags": {}, "overrides": false, "inherits": "Pt.add", @@ -1232,7 +1232,7 @@ 7 ] ], - "id": 3627, + "id": 3903, "flags": {}, "overrides": false, "inherits": "Pt.angle", @@ -1262,7 +1262,7 @@ 14 ] ], - "id": 3630, + "id": 3906, "flags": {}, "overrides": false, "inherits": "Pt.angleBetween", @@ -1298,7 +1298,7 @@ 6 ] ], - "id": 3603, + "id": 3879, "flags": {}, "overrides": false, "inherits": "Pt.ceil", @@ -1321,7 +1321,7 @@ 7 ] ], - "id": 3326, + "id": 3602, "flags": {}, "overrides": "Pt.clone", "inherits": false, @@ -1344,7 +1344,7 @@ 8 ] ], - "id": 3564, + "id": 3840, "flags": {}, "overrides": false, "inherits": "Pt.divide", @@ -1374,7 +1374,7 @@ 5 ] ], - "id": 3580, + "id": 3856, "flags": {}, "overrides": false, "inherits": "Pt.dot", @@ -1404,7 +1404,7 @@ 8 ] ], - "id": 3505, + "id": 3781, "flags": {}, "overrides": false, "inherits": "Pt.equals", @@ -1440,7 +1440,7 @@ 7 ] ], - "id": 3599, + "id": 3875, "flags": {}, "overrides": false, "inherits": "Pt.floor", @@ -1463,7 +1463,7 @@ 11 ] ], - "id": 3572, + "id": 3848, "flags": {}, "overrides": false, "inherits": "Pt.magnitude", @@ -1486,7 +1486,7 @@ 13 ] ], - "id": 3570, + "id": 3846, "flags": {}, "overrides": false, "inherits": "Pt.magnitudeSq", @@ -1509,7 +1509,7 @@ 10 ] ], - "id": 3616, + "id": 3892, "flags": {}, "overrides": false, "inherits": "Pt.maxValue", @@ -1532,7 +1532,7 @@ 10 ] ], - "id": 3611, + "id": 3887, "flags": {}, "overrides": false, "inherits": "Pt.minValue", @@ -1555,7 +1555,7 @@ 10 ] ], - "id": 3558, + "id": 3834, "flags": {}, "overrides": false, "inherits": "Pt.multiply", @@ -1585,7 +1585,7 @@ 11 ] ], - "id": 3380, + "id": 3656, "flags": {}, "overrides": false, "inherits": false, @@ -1615,7 +1615,7 @@ 4 ] ], - "id": 3520, + "id": 3796, "flags": {}, "overrides": false, "inherits": "Pt.op", @@ -1650,7 +1650,7 @@ 5 ] ], - "id": 3530, + "id": 3806, "flags": {}, "overrides": false, "inherits": "Pt.ops", @@ -1685,7 +1685,7 @@ 15 ] ], - "id": 3592, + "id": 3868, "flags": {}, "overrides": false, "inherits": "Pt.projectScalar", @@ -1715,7 +1715,7 @@ 11 ] ], - "id": 3648, + "id": 3924, "flags": {}, "overrides": false, "inherits": "Pt.reflect2D", @@ -1751,7 +1751,7 @@ 10 ] ], - "id": 3638, + "id": 3914, "flags": {}, "overrides": false, "inherits": "Pt.rotate2D", @@ -1793,7 +1793,7 @@ 7 ] ], - "id": 3607, + "id": 3883, "flags": {}, "overrides": false, "inherits": "Pt.round", @@ -1816,7 +1816,7 @@ 7 ] ], - "id": 3634, + "id": 3910, "flags": {}, "overrides": false, "inherits": "Pt.scale", @@ -1852,7 +1852,7 @@ 9 ] ], - "id": 3643, + "id": 3919, "flags": {}, "overrides": false, "inherits": "Pt.shear2D", @@ -1894,7 +1894,7 @@ 10 ] ], - "id": 3552, + "id": 3828, "flags": {}, "overrides": false, "inherits": "Pt.subtract", @@ -1924,7 +1924,7 @@ 4 ] ], - "id": 3509, + "id": 3785, "flags": {}, "overrides": false, "inherits": "Pt.to", @@ -1954,7 +1954,7 @@ 9 ] ], - "id": 3515, + "id": 3791, "flags": {}, "overrides": false, "inherits": "Pt.toAngle", @@ -1996,7 +1996,7 @@ 9 ] ], - "id": 3652, + "id": 3928, "flags": {}, "overrides": false, "inherits": "Pt.toArray", @@ -2019,7 +2019,7 @@ 8 ] ], - "id": 3328, + "id": 3604, "flags": {}, "overrides": false, "inherits": false, @@ -2055,7 +2055,7 @@ 10 ] ], - "id": 3386, + "id": 3662, "flags": {}, "overrides": "Pt.toString", "inherits": false, @@ -2085,7 +2085,7 @@ 6 ] ], - "id": 3574, + "id": 3850, "flags": {}, "overrides": false, "inherits": "Pt.unit", @@ -2115,7 +2115,7 @@ 17 ] ], - "id": 3404, + "id": 3680, "flags": { "isStatic": true }, @@ -2159,7 +2159,7 @@ 17 ] ], - "id": 3394, + "id": 3670, "flags": { "isStatic": true }, @@ -2203,7 +2203,7 @@ 17 ] ], - "id": 3469, + "id": 3745, "flags": { "isStatic": true }, @@ -2247,7 +2247,7 @@ 17 ] ], - "id": 3414, + "id": 3690, "flags": { "isStatic": true }, @@ -2291,7 +2291,7 @@ 17 ] ], - "id": 3454, + "id": 3730, "flags": { "isStatic": true }, @@ -2335,7 +2335,7 @@ 17 ] ], - "id": 3474, + "id": 3750, "flags": { "isStatic": true }, @@ -2379,7 +2379,7 @@ 17 ] ], - "id": 3424, + "id": 3700, "flags": { "isStatic": true }, @@ -2423,7 +2423,7 @@ 17 ] ], - "id": 3434, + "id": 3710, "flags": { "isStatic": true }, @@ -2467,7 +2467,7 @@ 17 ] ], - "id": 3464, + "id": 3740, "flags": { "isStatic": true }, @@ -2511,7 +2511,7 @@ 17 ] ], - "id": 3399, + "id": 3675, "flags": { "isStatic": true }, @@ -2555,7 +2555,7 @@ 17 ] ], - "id": 3389, + "id": 3665, "flags": { "isStatic": true }, @@ -2599,7 +2599,7 @@ 17 ] ], - "id": 3409, + "id": 3685, "flags": { "isStatic": true }, @@ -2643,7 +2643,7 @@ 17 ] ], - "id": 3419, + "id": 3695, "flags": { "isStatic": true }, @@ -2687,7 +2687,7 @@ 17 ] ], - "id": 3429, + "id": 3705, "flags": { "isStatic": true }, @@ -2731,7 +2731,7 @@ 17 ] ], - "id": 3439, + "id": 3715, "flags": { "isStatic": true }, @@ -2775,7 +2775,7 @@ 17 ] ], - "id": 3449, + "id": 3725, "flags": { "isStatic": true }, @@ -2819,7 +2819,7 @@ 17 ] ], - "id": 3459, + "id": 3735, "flags": { "isStatic": true }, @@ -2863,7 +2863,7 @@ 17 ] ], - "id": 3444, + "id": 3720, "flags": { "isStatic": true }, @@ -2907,7 +2907,7 @@ 14 ] ], - "id": 3658, + "id": 3934, "flags": { "isStatic": true }, @@ -2951,7 +2951,7 @@ 9 ] ], - "id": 3663, + "id": 3939, "flags": { "isStatic": true }, @@ -2989,7 +2989,7 @@ 8 ] ], - "id": 3672, + "id": 3948, "flags": { "isStatic": true }, @@ -3033,7 +3033,7 @@ 10 ] ], - "id": 3677, + "id": 3953, "flags": { "isStatic": true }, @@ -3071,7 +3071,7 @@ 8 ] ], - "id": 3686, + "id": 3962, "flags": { "isStatic": true }, @@ -3109,7 +3109,7 @@ 13 ] ], - "id": 3695, + "id": 3971, "flags": { "isStatic": true }, @@ -3147,7 +3147,7 @@ 11 ] ], - "id": 3704, + "id": 3980, "flags": { "isStatic": true }, @@ -3185,7 +3185,7 @@ 13 ] ], - "id": 3290, + "id": 3566, "flags": { "isStatic": true }, @@ -3217,7 +3217,7 @@ 16 ] ], - "id": 3293, + "id": 3569, "flags": { "isStatic": true }, @@ -3249,7 +3249,7 @@ 12 ] ], - "id": 3302, + "id": 3578, "flags": { "isStatic": true }, @@ -3281,7 +3281,7 @@ 12 ] ], - "id": 3299, + "id": 3575, "flags": { "isStatic": true }, @@ -3313,7 +3313,7 @@ 11 ] ], - "id": 3713, + "id": 3989, "flags": { "isStatic": true }, @@ -3351,7 +3351,7 @@ 8 ] ], - "id": 3717, + "id": 3993, "flags": { "isStatic": true }, @@ -3383,7 +3383,7 @@ 12 ] ], - "id": 3305, + "id": 3581, "flags": { "isStatic": true }, @@ -3415,7 +3415,7 @@ 15 ] ], - "id": 3720, + "id": 3996, "flags": { "isStatic": true }, @@ -3453,7 +3453,7 @@ 12 ] ], - "id": 3308, + "id": 3584, "flags": { "isStatic": true }, @@ -3485,7 +3485,7 @@ 12 ] ], - "id": 3311, + "id": 3587, "flags": { "isStatic": true }, @@ -3517,7 +3517,7 @@ 13 ] ], - "id": 3480, + "id": 3756, "flags": { "isStatic": true }, @@ -3561,7 +3561,7 @@ 7 ] ], - "id": 3725, + "id": 4001, "flags": { "isStatic": true }, @@ -3599,7 +3599,7 @@ 18 ] ], - "id": 3317, + "id": 3593, "flags": { "isStatic": true }, @@ -3646,7 +3646,7 @@ 10 ] ], - "id": 3734, + "id": 4010, "flags": { "isStatic": true }, @@ -3728,7 +3728,7 @@ 15 ] ], - "id": 3762, + "id": 4038, "flags": { "isStatic": true }, @@ -3800,7 +3800,7 @@ 11 ] ], - "id": 3790, + "id": 4066, "flags": { "isStatic": true }, @@ -3825,7 +3825,7 @@ 12 ] ], - "id": 3296, + "id": 3572, "flags": { "isStatic": true }, @@ -3857,7 +3857,7 @@ 7 ] ], - "id": 3792, + "id": 4068, "flags": { "isStatic": true }, @@ -3895,7 +3895,7 @@ 9 ] ], - "id": 3796, + "id": 4072, "flags": { "isStatic": true }, @@ -3933,7 +3933,7 @@ 8 ] ], - "id": 3800, + "id": 4076, "flags": { "isStatic": true }, @@ -3971,7 +3971,7 @@ 8 ] ], - "id": 3809, + "id": 4085, "flags": { "isStatic": true }, @@ -4003,7 +4003,7 @@ 12 ] ], - "id": 3816, + "id": 4092, "flags": { "isStatic": true }, @@ -4041,7 +4041,7 @@ 18 ] ], - "id": 3820, + "id": 4096, "flags": { "isStatic": true }, @@ -4066,7 +4066,7 @@ 12 ] ], - "id": 3822, + "id": 4098, "flags": { "isStatic": true }, @@ -4091,7 +4091,7 @@ 12 ] ], - "id": 3314, + "id": 3590, "flags": { "isStatic": true }, @@ -4126,7 +4126,7 @@ 30 ] ], - "id": 3654, + "id": 3930, "flags": { "isStatic": true }, @@ -4144,7 +4144,7 @@ 20 ] ], - "id": 3276, + "id": 3552, "flags": { "isStatic": true, "isPrivate": true @@ -4163,7 +4163,7 @@ 19 ] ], - "id": 3655, + "id": 3931, "flags": { "isStatic": true }, @@ -4181,7 +4181,7 @@ 23 ] ], - "id": 3656, + "id": 3932, "flags": { "isStatic": true }, @@ -4199,7 +4199,7 @@ 23 ] ], - "id": 3657, + "id": 3933, "flags": { "isStatic": true }, @@ -4217,7 +4217,7 @@ 19 ] ], - "id": 3724, + "id": 4000, "flags": { "isStatic": true }, diff --git a/docs/json/class/Create_Create.json b/docs/json/class/Create_Create.json index af07f0de..60a77caf 100644 --- a/docs/json/class/Create_Create.json +++ b/docs/json/class/Create_Create.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 3827, + "id": 4103, "comment": "The `Create` class helps you create structures from sets of points.", "constructor": [], "accessors": [], @@ -22,7 +22,7 @@ 17 ] ], - "id": 3860, + "id": 4136, "flags": { "isStatic": true }, @@ -54,7 +54,7 @@ 25 ] ], - "id": 3833, + "id": 4109, "flags": { "isStatic": true }, @@ -92,7 +92,7 @@ 25 ] ], - "id": 3828, + "id": 4104, "flags": { "isStatic": true }, @@ -136,7 +136,7 @@ 18 ] ], - "id": 3843, + "id": 4119, "flags": { "isStatic": true }, @@ -180,7 +180,7 @@ 16 ] ], - "id": 3837, + "id": 4113, "flags": { "isStatic": true }, @@ -230,7 +230,7 @@ 17 ] ], - "id": 3853, + "id": 4129, "flags": { "isStatic": true }, @@ -286,7 +286,7 @@ 18 ] ], - "id": 3848, + "id": 4124, "flags": { "isStatic": true }, diff --git a/docs/json/class/Create_Delaunay.json b/docs/json/class/Create_Delaunay.json index 581766fe..a8f7472a 100644 --- a/docs/json/class/Create_Delaunay.json +++ b/docs/json/class/Create_Delaunay.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 4232, + "id": 4508, "comment": "Delaunay is a [`Group`](#link) of Pts that generates Delaunay and Voronoi tessellations. The triangulation algorithm is ported from [Pt](https://github.com/williamngan/pt).\nBased on [Paul Bourke's algorithm](http://paulbourke.net/papers/triangulate/)\nwith reference to its [javascript implementation](https://github.com/ironwallaby/delaunay) by ironwallaby.", "constructor": [ { @@ -20,7 +20,7 @@ 23 ] ], - "id": 4270, + "id": 4546, "flags": {}, "overrides": false, "inherits": "Group.__constructor", @@ -57,7 +57,7 @@ 8 ] ], - "id": 4273, + "id": 4549, "flags": {}, "overrides": false, "inherits": "Group.id", @@ -84,7 +84,7 @@ 8 ] ], - "id": 4277, + "id": 4553, "flags": {}, "overrides": false, "inherits": "Group.p1", @@ -103,7 +103,7 @@ 8 ] ], - "id": 4279, + "id": 4555, "flags": {}, "overrides": false, "inherits": "Group.p2", @@ -122,7 +122,7 @@ 8 ] ], - "id": 4281, + "id": 4557, "flags": {}, "overrides": false, "inherits": "Group.p3", @@ -141,7 +141,7 @@ 8 ] ], - "id": 4283, + "id": 4559, "flags": {}, "overrides": false, "inherits": "Group.p4", @@ -160,7 +160,7 @@ 8 ] ], - "id": 4285, + "id": 4561, "flags": {}, "overrides": false, "inherits": "Group.q1", @@ -179,7 +179,7 @@ 8 ] ], - "id": 4287, + "id": 4563, "flags": {}, "overrides": false, "inherits": "Group.q2", @@ -198,7 +198,7 @@ 8 ] ], - "id": 4289, + "id": 4565, "flags": {}, "overrides": false, "inherits": "Group.q3", @@ -217,7 +217,7 @@ 8 ] ], - "id": 4291, + "id": 4567, "flags": {}, "overrides": false, "inherits": "Group.q4", @@ -238,7 +238,7 @@ 12 ] ], - "id": 4398, + "id": 4674, "flags": {}, "overrides": false, "inherits": "Group.$matrixAdd", @@ -268,7 +268,7 @@ 17 ] ], - "id": 4401, + "id": 4677, "flags": {}, "overrides": false, "inherits": "Group.$matrixMultiply", @@ -310,7 +310,7 @@ 6 ] ], - "id": 4410, + "id": 4686, "flags": {}, "overrides": false, "inherits": "Group.$zip", @@ -346,7 +346,7 @@ 5 ] ], - "id": 4386, + "id": 4662, "flags": {}, "overrides": false, "inherits": "Group.add", @@ -376,7 +376,7 @@ 12 ] ], - "id": 4328, + "id": 4604, "flags": {}, "overrides": false, "inherits": "Group.anchorFrom", @@ -406,7 +406,7 @@ 10 ] ], - "id": 4325, + "id": 4601, "flags": {}, "overrides": false, "inherits": "Group.anchorTo", @@ -436,7 +436,7 @@ 13 ] ], - "id": 4323, + "id": 4599, "flags": {}, "overrides": false, "inherits": "Group.boundingBox", @@ -459,7 +459,7 @@ 10 ] ], - "id": 4321, + "id": 4597, "flags": {}, "overrides": false, "inherits": "Group.centroid", @@ -482,7 +482,7 @@ 7 ] ], - "id": 4293, + "id": 4569, "flags": {}, "overrides": false, "inherits": "Group.clone", @@ -505,7 +505,7 @@ 10 ] ], - "id": 4234, + "id": 4510, "flags": {}, "overrides": false, "inherits": false, @@ -535,7 +535,7 @@ 8 ] ], - "id": 4395, + "id": 4671, "flags": {}, "overrides": false, "inherits": "Group.divide", @@ -565,7 +565,7 @@ 11 ] ], - "id": 4382, + "id": 4658, "flags": {}, "overrides": false, "inherits": "Group.forEachPt", @@ -601,7 +601,7 @@ 8 ] ], - "id": 4306, + "id": 4582, "flags": {}, "overrides": false, "inherits": "Group.insert", @@ -637,7 +637,7 @@ 13 ] ], - "id": 4351, + "id": 4627, "flags": {}, "overrides": false, "inherits": "Group.interpolate", @@ -667,7 +667,7 @@ 7 ] ], - "id": 4319, + "id": 4595, "flags": {}, "overrides": false, "inherits": "Group.lines", @@ -690,7 +690,7 @@ 6 ] ], - "id": 4239, + "id": 4515, "flags": {}, "overrides": false, "inherits": false, @@ -713,7 +713,7 @@ 8 ] ], - "id": 4354, + "id": 4630, "flags": {}, "overrides": false, "inherits": "Group.moveBy", @@ -743,7 +743,7 @@ 8 ] ], - "id": 4357, + "id": 4633, "flags": {}, "overrides": false, "inherits": "Group.moveTo", @@ -773,7 +773,7 @@ 10 ] ], - "id": 4392, + "id": 4668, "flags": {}, "overrides": false, "inherits": "Group.multiply", @@ -803,7 +803,7 @@ 13 ] ], - "id": 4241, + "id": 4517, "flags": {}, "overrides": false, "inherits": false, @@ -839,7 +839,7 @@ 11 ] ], - "id": 4245, + "id": 4521, "flags": {}, "overrides": false, "inherits": false, @@ -869,7 +869,7 @@ 4 ] ], - "id": 4331, + "id": 4607, "flags": {}, "overrides": false, "inherits": "Group.op", @@ -904,7 +904,7 @@ 5 ] ], - "id": 4341, + "id": 4617, "flags": {}, "overrides": false, "inherits": "Group.ops", @@ -939,7 +939,7 @@ 11 ] ], - "id": 4374, + "id": 4650, "flags": {}, "overrides": false, "inherits": "Group.reflect2D", @@ -975,7 +975,7 @@ 8 ] ], - "id": 4310, + "id": 4586, "flags": {}, "overrides": false, "inherits": "Group.remove", @@ -1011,7 +1011,7 @@ 10 ] ], - "id": 4364, + "id": 4640, "flags": {}, "overrides": false, "inherits": "Group.rotate2D", @@ -1053,7 +1053,7 @@ 7 ] ], - "id": 4360, + "id": 4636, "flags": {}, "overrides": false, "inherits": "Group.scale", @@ -1089,7 +1089,7 @@ 10 ] ], - "id": 4314, + "id": 4590, "flags": {}, "overrides": false, "inherits": "Group.segments", @@ -1131,7 +1131,7 @@ 9 ] ], - "id": 4369, + "id": 4645, "flags": {}, "overrides": false, "inherits": "Group.shear2D", @@ -1173,7 +1173,7 @@ 17 ] ], - "id": 4378, + "id": 4654, "flags": {}, "overrides": false, "inherits": "Group.sortByDimension", @@ -1209,7 +1209,7 @@ 7 ] ], - "id": 4301, + "id": 4577, "flags": {}, "overrides": false, "inherits": "Group.split", @@ -1251,7 +1251,7 @@ 10 ] ], - "id": 4389, + "id": 4665, "flags": {}, "overrides": false, "inherits": "Group.subtract", @@ -1281,7 +1281,7 @@ 10 ] ], - "id": 4414, + "id": 4690, "flags": {}, "overrides": false, "inherits": "Group.toString", @@ -1304,7 +1304,7 @@ 9 ] ], - "id": 4237, + "id": 4513, "flags": {}, "overrides": false, "inherits": false, @@ -1327,7 +1327,7 @@ 10 ] ], - "id": 4406, + "id": 4682, "flags": {}, "overrides": false, "inherits": "Group.zipSlice", @@ -1368,7 +1368,7 @@ 10 ] ], - "id": 4426, + "id": 4702, "flags": { "isStatic": true }, @@ -1414,7 +1414,7 @@ 9 ] ], - "id": 4468, + "id": 4744, "flags": { "isStatic": true }, @@ -1457,7 +1457,7 @@ 10 ] ], - "id": 4505, + "id": 4781, "flags": { "isStatic": true }, @@ -1515,7 +1515,7 @@ 11 ] ], - "id": 4486, + "id": 4762, "flags": { "isStatic": true }, @@ -1553,7 +1553,7 @@ 18 ] ], - "id": 4295, + "id": 4571, "flags": { "isStatic": true }, @@ -1590,7 +1590,7 @@ 20 ] ], - "id": 4298, + "id": 4574, "flags": { "isStatic": true }, @@ -1622,7 +1622,7 @@ 11 ] ], - "id": 4460, + "id": 4736, "flags": { "isStatic": true }, @@ -1660,7 +1660,7 @@ 8 ] ], - "id": 4431, + "id": 4707, "flags": { "isStatic": true }, @@ -1692,7 +1692,7 @@ 15 ] ], - "id": 4464, + "id": 4740, "flags": { "isStatic": true }, @@ -1730,7 +1730,7 @@ 7 ] ], - "id": 4495, + "id": 4771, "flags": { "isStatic": true }, @@ -1768,7 +1768,7 @@ 7 ] ], - "id": 4424, + "id": 4700, "flags": { "isStatic": true }, @@ -1793,7 +1793,7 @@ 8 ] ], - "id": 4421, + "id": 4697, "flags": { "isStatic": true }, @@ -1835,7 +1835,7 @@ 10 ] ], - "id": 4523, + "id": 4799, "flags": { "isStatic": true }, @@ -1917,7 +1917,7 @@ 15 ] ], - "id": 4551, + "id": 4827, "flags": { "isStatic": true }, @@ -1989,7 +1989,7 @@ 11 ] ], - "id": 4434, + "id": 4710, "flags": { "isStatic": true }, @@ -2014,7 +2014,7 @@ 9 ] ], - "id": 4436, + "id": 4712, "flags": { "isStatic": true }, @@ -2039,7 +2039,7 @@ 9 ] ], - "id": 4438, + "id": 4714, "flags": { "isStatic": true }, @@ -2077,7 +2077,7 @@ 8 ] ], - "id": 4477, + "id": 4753, "flags": { "isStatic": true }, @@ -2115,7 +2115,7 @@ 8 ] ], - "id": 4442, + "id": 4718, "flags": { "isStatic": true }, @@ -2152,7 +2152,7 @@ 10 ] ], - "id": 4449, + "id": 4725, "flags": { "isStatic": true }, @@ -2216,7 +2216,7 @@ 18 ] ], - "id": 4419, + "id": 4695, "flags": { "isStatic": true }, @@ -2241,7 +2241,7 @@ 12 ] ], - "id": 4417, + "id": 4693, "flags": { "isStatic": true }, @@ -2266,7 +2266,7 @@ 11 ] ], - "id": 4457, + "id": 4733, "flags": { "isStatic": true }, @@ -2301,7 +2301,7 @@ 10 ] ], - "id": 4416, + "id": 4692, "flags": { "isStatic": true }, diff --git a/docs/json/class/Create_Noise.json b/docs/json/class/Create_Noise.json index ce9bec2b..b2bedd52 100644 --- a/docs/json/class/Create_Noise.json +++ b/docs/json/class/Create_Noise.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 3863, + "id": 4139, "comment": "Noise is a subclass of Pt that generates Perlin noise. Current implementation supports basic 2D noise.\nThis implementation is based on this [gist](https://gist.github.com/banksean/304522).", "constructor": [ { @@ -20,7 +20,7 @@ 37 ] ], - "id": 3866, + "id": 4142, "flags": {}, "overrides": "Pt.__constructor", "inherits": false, @@ -57,7 +57,7 @@ 8 ] ], - "id": 3887, + "id": 4163, "flags": {}, "overrides": false, "inherits": "Pt.id", @@ -89,7 +89,7 @@ 7 ] ], - "id": 3903, + "id": 4179, "flags": {}, "overrides": false, "inherits": "Pt.w", @@ -121,7 +121,7 @@ 7 ] ], - "id": 3891, + "id": 4167, "flags": {}, "overrides": false, "inherits": "Pt.x", @@ -153,7 +153,7 @@ 7 ] ], - "id": 3895, + "id": 4171, "flags": {}, "overrides": false, "inherits": "Pt.y", @@ -185,7 +185,7 @@ 7 ] ], - "id": 3899, + "id": 4175, "flags": {}, "overrides": false, "inherits": "Pt.z", @@ -214,7 +214,7 @@ 6 ] ], - "id": 4001, + "id": 4277, "flags": {}, "overrides": false, "inherits": "Pt.$abs", @@ -237,7 +237,7 @@ 6 ] ], - "id": 3953, + "id": 4229, "flags": {}, "overrides": false, "inherits": "Pt.$add", @@ -267,7 +267,7 @@ 7 ] ], - "id": 4009, + "id": 4285, "flags": {}, "overrides": false, "inherits": "Pt.$ceil", @@ -290,7 +290,7 @@ 9 ] ], - "id": 3947, + "id": 4223, "flags": {}, "overrides": false, "inherits": "Pt.$concat", @@ -320,7 +320,7 @@ 8 ] ], - "id": 3990, + "id": 4266, "flags": {}, "overrides": false, "inherits": "Pt.$cross", @@ -350,7 +350,7 @@ 10 ] ], - "id": 3987, + "id": 4263, "flags": {}, "overrides": false, "inherits": "Pt.$cross2D", @@ -380,7 +380,7 @@ 9 ] ], - "id": 3971, + "id": 4247, "flags": {}, "overrides": false, "inherits": "Pt.$divide", @@ -410,7 +410,7 @@ 8 ] ], - "id": 4005, + "id": 4281, "flags": {}, "overrides": false, "inherits": "Pt.$floor", @@ -433,7 +433,7 @@ 6 ] ], - "id": 4028, + "id": 4304, "flags": {}, "overrides": false, "inherits": "Pt.$max", @@ -463,7 +463,7 @@ 6 ] ], - "id": 4025, + "id": 4301, "flags": {}, "overrides": false, "inherits": "Pt.$min", @@ -493,7 +493,7 @@ 11 ] ], - "id": 3965, + "id": 4241, "flags": {}, "overrides": false, "inherits": "Pt.$multiply", @@ -523,7 +523,7 @@ 10 ] ], - "id": 3993, + "id": 4269, "flags": {}, "overrides": false, "inherits": "Pt.$project", @@ -553,7 +553,7 @@ 8 ] ], - "id": 4013, + "id": 4289, "flags": {}, "overrides": false, "inherits": "Pt.$round", @@ -576,7 +576,7 @@ 11 ] ], - "id": 3959, + "id": 4235, "flags": {}, "overrides": false, "inherits": "Pt.$subtract", @@ -606,7 +606,7 @@ 7 ] ], - "id": 3944, + "id": 4220, "flags": {}, "overrides": false, "inherits": "Pt.$take", @@ -636,7 +636,7 @@ 5 ] ], - "id": 3916, + "id": 4192, "flags": {}, "overrides": false, "inherits": "Pt.$to", @@ -666,7 +666,7 @@ 7 ] ], - "id": 3981, + "id": 4257, "flags": {}, "overrides": false, "inherits": "Pt.$unit", @@ -696,7 +696,7 @@ 5 ] ], - "id": 3999, + "id": 4275, "flags": {}, "overrides": false, "inherits": "Pt.abs", @@ -719,7 +719,7 @@ 5 ] ], - "id": 3950, + "id": 4226, "flags": {}, "overrides": false, "inherits": "Pt.add", @@ -749,7 +749,7 @@ 7 ] ], - "id": 4031, + "id": 4307, "flags": {}, "overrides": false, "inherits": "Pt.angle", @@ -779,7 +779,7 @@ 14 ] ], - "id": 4034, + "id": 4310, "flags": {}, "overrides": false, "inherits": "Pt.angleBetween", @@ -815,7 +815,7 @@ 6 ] ], - "id": 4007, + "id": 4283, "flags": {}, "overrides": false, "inherits": "Pt.ceil", @@ -838,7 +838,7 @@ 7 ] ], - "id": 3907, + "id": 4183, "flags": {}, "overrides": false, "inherits": "Pt.clone", @@ -861,7 +861,7 @@ 8 ] ], - "id": 3968, + "id": 4244, "flags": {}, "overrides": false, "inherits": "Pt.divide", @@ -891,7 +891,7 @@ 5 ] ], - "id": 3984, + "id": 4260, "flags": {}, "overrides": false, "inherits": "Pt.dot", @@ -921,7 +921,7 @@ 8 ] ], - "id": 3909, + "id": 4185, "flags": {}, "overrides": false, "inherits": "Pt.equals", @@ -957,7 +957,7 @@ 7 ] ], - "id": 4003, + "id": 4279, "flags": {}, "overrides": false, "inherits": "Pt.floor", @@ -980,7 +980,7 @@ 11 ] ], - "id": 3869, + "id": 4145, "flags": {}, "overrides": false, "inherits": false, @@ -1015,7 +1015,7 @@ 11 ] ], - "id": 3976, + "id": 4252, "flags": {}, "overrides": false, "inherits": "Pt.magnitude", @@ -1038,7 +1038,7 @@ 13 ] ], - "id": 3974, + "id": 4250, "flags": {}, "overrides": false, "inherits": "Pt.magnitudeSq", @@ -1061,7 +1061,7 @@ 10 ] ], - "id": 4020, + "id": 4296, "flags": {}, "overrides": false, "inherits": "Pt.maxValue", @@ -1084,7 +1084,7 @@ 10 ] ], - "id": 4015, + "id": 4291, "flags": {}, "overrides": false, "inherits": "Pt.minValue", @@ -1107,7 +1107,7 @@ 10 ] ], - "id": 3962, + "id": 4238, "flags": {}, "overrides": false, "inherits": "Pt.multiply", @@ -1137,7 +1137,7 @@ 9 ] ], - "id": 3879, + "id": 4155, "flags": {}, "overrides": false, "inherits": false, @@ -1160,7 +1160,7 @@ 4 ] ], - "id": 3924, + "id": 4200, "flags": {}, "overrides": false, "inherits": "Pt.op", @@ -1195,7 +1195,7 @@ 5 ] ], - "id": 3934, + "id": 4210, "flags": {}, "overrides": false, "inherits": "Pt.ops", @@ -1230,7 +1230,7 @@ 15 ] ], - "id": 3996, + "id": 4272, "flags": {}, "overrides": false, "inherits": "Pt.projectScalar", @@ -1260,7 +1260,7 @@ 11 ] ], - "id": 4052, + "id": 4328, "flags": {}, "overrides": false, "inherits": "Pt.reflect2D", @@ -1296,7 +1296,7 @@ 10 ] ], - "id": 4042, + "id": 4318, "flags": {}, "overrides": false, "inherits": "Pt.rotate2D", @@ -1338,7 +1338,7 @@ 7 ] ], - "id": 4011, + "id": 4287, "flags": {}, "overrides": false, "inherits": "Pt.round", @@ -1361,7 +1361,7 @@ 7 ] ], - "id": 4038, + "id": 4314, "flags": {}, "overrides": false, "inherits": "Pt.scale", @@ -1397,7 +1397,7 @@ 6 ] ], - "id": 3876, + "id": 4152, "flags": {}, "overrides": false, "inherits": false, @@ -1427,7 +1427,7 @@ 9 ] ], - "id": 4047, + "id": 4323, "flags": {}, "overrides": false, "inherits": "Pt.shear2D", @@ -1469,7 +1469,7 @@ 6 ] ], - "id": 3872, + "id": 4148, "flags": {}, "overrides": false, "inherits": false, @@ -1505,7 +1505,7 @@ 10 ] ], - "id": 3956, + "id": 4232, "flags": {}, "overrides": false, "inherits": "Pt.subtract", @@ -1535,7 +1535,7 @@ 4 ] ], - "id": 3913, + "id": 4189, "flags": {}, "overrides": false, "inherits": "Pt.to", @@ -1565,7 +1565,7 @@ 9 ] ], - "id": 3919, + "id": 4195, "flags": {}, "overrides": false, "inherits": "Pt.toAngle", @@ -1607,7 +1607,7 @@ 9 ] ], - "id": 4058, + "id": 4334, "flags": {}, "overrides": false, "inherits": "Pt.toArray", @@ -1630,7 +1630,7 @@ 10 ] ], - "id": 4056, + "id": 4332, "flags": {}, "overrides": false, "inherits": "Pt.toString", @@ -1653,7 +1653,7 @@ 6 ] ], - "id": 3978, + "id": 4254, "flags": {}, "overrides": false, "inherits": "Pt.unit", @@ -1683,7 +1683,7 @@ 14 ] ], - "id": 4064, + "id": 4340, "flags": { "isStatic": true }, @@ -1727,7 +1727,7 @@ 9 ] ], - "id": 4069, + "id": 4345, "flags": { "isStatic": true }, @@ -1765,7 +1765,7 @@ 8 ] ], - "id": 4078, + "id": 4354, "flags": { "isStatic": true }, @@ -1809,7 +1809,7 @@ 10 ] ], - "id": 4083, + "id": 4359, "flags": { "isStatic": true }, @@ -1847,7 +1847,7 @@ 8 ] ], - "id": 4092, + "id": 4368, "flags": { "isStatic": true }, @@ -1885,7 +1885,7 @@ 13 ] ], - "id": 4101, + "id": 4377, "flags": { "isStatic": true }, @@ -1923,7 +1923,7 @@ 11 ] ], - "id": 4110, + "id": 4386, "flags": { "isStatic": true }, @@ -1961,7 +1961,7 @@ 11 ] ], - "id": 4119, + "id": 4395, "flags": { "isStatic": true }, @@ -1999,7 +1999,7 @@ 8 ] ], - "id": 4123, + "id": 4399, "flags": { "isStatic": true }, @@ -2031,7 +2031,7 @@ 15 ] ], - "id": 4126, + "id": 4402, "flags": { "isStatic": true }, @@ -2069,7 +2069,7 @@ 13 ] ], - "id": 3882, + "id": 4158, "flags": { "isStatic": true }, @@ -2113,7 +2113,7 @@ 7 ] ], - "id": 4131, + "id": 4407, "flags": { "isStatic": true }, @@ -2161,7 +2161,7 @@ 10 ] ], - "id": 4140, + "id": 4416, "flags": { "isStatic": true }, @@ -2243,7 +2243,7 @@ 15 ] ], - "id": 4168, + "id": 4444, "flags": { "isStatic": true }, @@ -2315,7 +2315,7 @@ 11 ] ], - "id": 4196, + "id": 4472, "flags": { "isStatic": true }, @@ -2340,7 +2340,7 @@ 7 ] ], - "id": 4198, + "id": 4474, "flags": { "isStatic": true }, @@ -2378,7 +2378,7 @@ 9 ] ], - "id": 4202, + "id": 4478, "flags": { "isStatic": true }, @@ -2416,7 +2416,7 @@ 8 ] ], - "id": 4206, + "id": 4482, "flags": { "isStatic": true }, @@ -2454,7 +2454,7 @@ 8 ] ], - "id": 4215, + "id": 4491, "flags": { "isStatic": true }, @@ -2486,7 +2486,7 @@ 12 ] ], - "id": 4222, + "id": 4498, "flags": { "isStatic": true }, @@ -2524,7 +2524,7 @@ 18 ] ], - "id": 4226, + "id": 4502, "flags": { "isStatic": true }, @@ -2549,7 +2549,7 @@ 12 ] ], - "id": 4228, + "id": 4504, "flags": { "isStatic": true }, @@ -2577,7 +2577,7 @@ 16 ] ], - "id": 3864, + "id": 4140, "flags": { "isProtected": true }, @@ -2595,7 +2595,7 @@ 30 ] ], - "id": 4060, + "id": 4336, "flags": { "isStatic": true }, @@ -2613,7 +2613,7 @@ 19 ] ], - "id": 4061, + "id": 4337, "flags": { "isStatic": true }, @@ -2631,7 +2631,7 @@ 23 ] ], - "id": 4062, + "id": 4338, "flags": { "isStatic": true }, @@ -2649,7 +2649,7 @@ 23 ] ], - "id": 4063, + "id": 4339, "flags": { "isStatic": true }, @@ -2667,7 +2667,7 @@ 19 ] ], - "id": 4130, + "id": 4406, "flags": { "isStatic": true }, diff --git a/docs/json/class/Dom_DOMSpace.json b/docs/json/class/Dom_DOMSpace.json index 939499c8..6c0bb7c9 100644 --- a/docs/json/class/Dom_DOMSpace.json +++ b/docs/json/class/Dom_DOMSpace.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 4584, + "id": 4860, "comment": "DOMSpace is a space for DOM elements. Usually its subclasses such as [`HTMLSpace`](#link) and [`#SVGSpace`](#link) should be used instead.\nLearn more about spaces in [this guide](../guide/space-0500).", "constructor": [ { @@ -20,7 +20,7 @@ 22 ] ], - "id": 4592, + "id": 4868, "flags": {}, "overrides": false, "inherits": false, @@ -68,7 +68,7 @@ 16 ] ], - "id": 4612, + "id": 4888, "flags": {}, "overrides": false, "inherits": false, @@ -100,7 +100,7 @@ 16 ] ], - "id": 4632, + "id": 4908, "flags": {}, "overrides": false, "inherits": false, @@ -127,7 +127,7 @@ 12 ] ], - "id": 4762, + "id": 5038, "flags": {}, "overrides": false, "inherits": "Space.center", @@ -151,7 +151,7 @@ 21 ] ], - "id": 4742, + "id": 5018, "flags": {}, "overrides": false, "inherits": "Space.customRendering", @@ -178,7 +178,7 @@ 13 ] ], - "id": 4623, + "id": 4899, "flags": {}, "overrides": false, "inherits": false, @@ -197,7 +197,7 @@ 12 ] ], - "id": 4766, + "id": 5042, "flags": {}, "overrides": false, "inherits": "Space.height", @@ -216,7 +216,7 @@ 23 ] ], - "id": 4758, + "id": 5034, "flags": { "isPublic": true }, @@ -237,7 +237,7 @@ 15 ] ], - "id": 4754, + "id": 5030, "flags": {}, "overrides": false, "inherits": "Space.isPlaying", @@ -256,7 +256,7 @@ 16 ] ], - "id": 4756, + "id": 5032, "flags": {}, "overrides": false, "inherits": "Space.outerBound", @@ -275,7 +275,7 @@ 12 ] ], - "id": 4625, + "id": 4901, "flags": {}, "overrides": false, "inherits": false, @@ -294,7 +294,7 @@ 20 ] ], - "id": 4656, + "id": 4932, "flags": { "isPublic": true }, @@ -315,7 +315,7 @@ 11 ] ], - "id": 4627, + "id": 4903, "flags": {}, "overrides": false, "inherits": false, @@ -334,7 +334,7 @@ 10 ] ], - "id": 4760, + "id": 5036, "flags": {}, "overrides": false, "inherits": "Space.size", @@ -353,7 +353,7 @@ 11 ] ], - "id": 4764, + "id": 5040, "flags": {}, "overrides": false, "inherits": "Space.width", @@ -374,7 +374,7 @@ 5 ] ], - "id": 4712, + "id": 4988, "flags": {}, "overrides": false, "inherits": "Space.add", @@ -404,7 +404,7 @@ 12 ] ], - "id": 4658, + "id": 4934, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindCanvas", @@ -440,7 +440,7 @@ 11 ] ], - "id": 4666, + "id": 4942, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindMouse", @@ -475,7 +475,7 @@ 11 ] ], - "id": 4669, + "id": 4945, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindTouch", @@ -510,7 +510,7 @@ 7 ] ], - "id": 4629, + "id": 4905, "flags": {}, "overrides": "Space.clear", "inherits": false, @@ -540,7 +540,7 @@ 9 ] ], - "id": 4610, + "id": 4886, "flags": {}, "overrides": "Space.getForm", "inherits": false, @@ -563,7 +563,7 @@ 7 ] ], - "id": 4728, + "id": 5004, "flags": {}, "overrides": false, "inherits": "Space.pause", @@ -593,7 +593,7 @@ 6 ] ], - "id": 4720, + "id": 4996, "flags": {}, "overrides": false, "inherits": "Space.play", @@ -623,7 +623,7 @@ 21 ] ], - "id": 4725, + "id": 5001, "flags": { "isProtected": true }, @@ -655,7 +655,7 @@ 10 ] ], - "id": 4736, + "id": 5012, "flags": {}, "overrides": false, "inherits": "Space.playOnce", @@ -685,7 +685,7 @@ 9 ] ], - "id": 4709, + "id": 4985, "flags": {}, "overrides": false, "inherits": "Space.refresh", @@ -715,7 +715,7 @@ 8 ] ], - "id": 4715, + "id": 4991, "flags": {}, "overrides": false, "inherits": "Space.remove", @@ -745,7 +745,7 @@ 11 ] ], - "id": 4718, + "id": 4994, "flags": {}, "overrides": false, "inherits": "Space.removeAll", @@ -768,7 +768,7 @@ 18 ] ], - "id": 4739, + "id": 5015, "flags": { "isProtected": true }, @@ -800,7 +800,7 @@ 8 ] ], - "id": 4723, + "id": 4999, "flags": {}, "overrides": false, "inherits": "Space.replay", @@ -823,7 +823,7 @@ 8 ] ], - "id": 4616, + "id": 4892, "flags": {}, "overrides": "Space.resize", "inherits": false, @@ -859,7 +859,7 @@ 8 ] ], - "id": 4731, + "id": 5007, "flags": {}, "overrides": false, "inherits": "Space.resume", @@ -882,7 +882,7 @@ 7 ] ], - "id": 4604, + "id": 4880, "flags": {}, "overrides": false, "inherits": false, @@ -917,7 +917,7 @@ 6 ] ], - "id": 4733, + "id": 5009, "flags": {}, "overrides": false, "inherits": "Space.stop", @@ -947,7 +947,7 @@ 7 ] ], - "id": 4636, + "id": 4912, "flags": {}, "overrides": false, "inherits": false, @@ -989,7 +989,7 @@ 8 ] ], - "id": 4641, + "id": 4917, "flags": {}, "overrides": false, "inherits": false, @@ -1025,7 +1025,7 @@ 17 ] ], - "id": 4672, + "id": 4948, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.touchesToPoints", @@ -1061,7 +1061,7 @@ 14 ] ], - "id": 4662, + "id": 4938, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.unbindCanvas", @@ -1097,7 +1097,7 @@ 22 ] ], - "id": 4596, + "id": 4872, "flags": { "isStatic": true }, @@ -1141,7 +1141,7 @@ 24 ] ], - "id": 4649, + "id": 4925, "flags": { "isStatic": true }, @@ -1178,7 +1178,7 @@ 16 ] ], - "id": 4645, + "id": 4921, "flags": { "isStatic": true }, @@ -1219,7 +1219,7 @@ 17 ] ], - "id": 4698, + "id": 4974, "flags": { "isProtected": true }, @@ -1237,7 +1237,7 @@ 4 ] ], - "id": 4587, + "id": 4863, "flags": {}, "type": "id", "overrides": "Space.id", @@ -1253,7 +1253,7 @@ 23 ] ], - "id": 4704, + "id": 4980, "flags": { "isProtected": true }, @@ -1271,7 +1271,7 @@ 19 ] ], - "id": 4703, + "id": 4979, "flags": { "isProtected": true }, diff --git a/docs/json/class/Dom_HTMLForm.json b/docs/json/class/Dom_HTMLForm.json index c10d1259..a38e949b 100644 --- a/docs/json/class/Dom_HTMLForm.json +++ b/docs/json/class/Dom_HTMLForm.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 4955, + "id": 5231, "comment": "**[Experimental]** HTMLForm is an implementation of abstract class [`VisualForm`](#link). It provide methods to express Pts on [`HTMLSpace`](#link). Note that this is currently experimental and may change in future.", "constructor": [ { @@ -20,7 +20,7 @@ 35 ] ], - "id": 4983, + "id": 5259, "flags": {}, "overrides": false, "inherits": false, @@ -52,7 +52,7 @@ 17 ] ], - "id": 5112, + "id": 5388, "flags": {}, "overrides": false, "inherits": "VisualForm.currentFont", @@ -76,7 +76,7 @@ 12 ] ], - "id": 5102, + "id": 5378, "flags": {}, "overrides": false, "inherits": "VisualForm.filled", @@ -103,7 +103,7 @@ 11 ] ], - "id": 5148, + "id": 5424, "flags": {}, "overrides": false, "inherits": "Form.ready", @@ -122,7 +122,7 @@ 11 ] ], - "id": 4986, + "id": 5262, "flags": {}, "overrides": false, "inherits": false, @@ -146,7 +146,7 @@ 13 ] ], - "id": 5107, + "id": 5383, "flags": {}, "overrides": false, "inherits": "VisualForm.stroked", @@ -175,7 +175,7 @@ 5 ] ], - "id": 5088, + "id": 5364, "flags": {}, "overrides": "VisualForm.arc", "inherits": false, @@ -229,7 +229,7 @@ 8 ] ], - "id": 5057, + "id": 5333, "flags": {}, "overrides": "VisualForm.circle", "inherits": false, @@ -264,7 +264,7 @@ 9 ] ], - "id": 5133, + "id": 5409, "flags": {}, "overrides": false, "inherits": "VisualForm.circles", @@ -294,7 +294,7 @@ 5 ] ], - "id": 5005, + "id": 5281, "flags": {}, "overrides": false, "inherits": false, @@ -329,7 +329,7 @@ 6 ] ], - "id": 4993, + "id": 5269, "flags": {}, "overrides": "VisualForm.fill", "inherits": false, @@ -364,7 +364,7 @@ 10 ] ], - "id": 5119, + "id": 5395, "flags": {}, "overrides": false, "inherits": "VisualForm.fillOnly", @@ -394,7 +394,7 @@ 10 ] ], - "id": 5002, + "id": 5278, "flags": {}, "overrides": false, "inherits": false, @@ -429,7 +429,7 @@ 6 ] ], - "id": 5008, + "id": 5284, "flags": {}, "overrides": "VisualForm.font", "inherits": false, @@ -488,7 +488,7 @@ 6 ] ], - "id": 5095, + "id": 5371, "flags": {}, "overrides": "VisualForm.line", "inherits": false, @@ -518,7 +518,7 @@ 7 ] ], - "id": 5139, + "id": 5415, "flags": {}, "overrides": false, "inherits": "VisualForm.lines", @@ -548,7 +548,7 @@ 5 ] ], - "id": 5085, + "id": 5361, "flags": {}, "overrides": false, "inherits": false, @@ -578,7 +578,7 @@ 8 ] ], - "id": 5024, + "id": 5300, "flags": {}, "overrides": false, "inherits": false, @@ -601,7 +601,7 @@ 7 ] ], - "id": 5047, + "id": 5323, "flags": {}, "overrides": "VisualForm.point", "inherits": false, @@ -648,7 +648,7 @@ 8 ] ], - "id": 5128, + "id": 5404, "flags": {}, "overrides": false, "inherits": "VisualForm.points", @@ -690,7 +690,7 @@ 9 ] ], - "id": 5098, + "id": 5374, "flags": {}, "overrides": "VisualForm.polygon", "inherits": false, @@ -720,7 +720,7 @@ 10 ] ], - "id": 5142, + "id": 5418, "flags": {}, "overrides": false, "inherits": "VisualForm.polygons", @@ -750,7 +750,7 @@ 6 ] ], - "id": 5073, + "id": 5349, "flags": {}, "overrides": "VisualForm.rect", "inherits": false, @@ -780,7 +780,7 @@ 7 ] ], - "id": 5145, + "id": 5421, "flags": {}, "overrides": false, "inherits": "VisualForm.rects", @@ -810,7 +810,7 @@ 7 ] ], - "id": 5015, + "id": 5291, "flags": {}, "overrides": "VisualForm.reset", "inherits": false, @@ -833,7 +833,7 @@ 7 ] ], - "id": 5021, + "id": 5297, "flags": {}, "overrides": false, "inherits": false, @@ -863,7 +863,7 @@ 8 ] ], - "id": 5065, + "id": 5341, "flags": {}, "overrides": false, "inherits": false, @@ -899,7 +899,7 @@ 9 ] ], - "id": 5136, + "id": 5412, "flags": {}, "overrides": false, "inherits": "VisualForm.squares", @@ -929,7 +929,7 @@ 8 ] ], - "id": 4996, + "id": 5272, "flags": {}, "overrides": "VisualForm.stroke", "inherits": false, @@ -982,7 +982,7 @@ 12 ] ], - "id": 5122, + "id": 5398, "flags": {}, "overrides": false, "inherits": "VisualForm.strokeOnly", @@ -1030,7 +1030,7 @@ 19 ] ], - "id": 4988, + "id": 5264, "flags": { "isProtected": true }, @@ -1074,7 +1074,7 @@ 6 ] ], - "id": 5081, + "id": 5357, "flags": {}, "overrides": "VisualForm.text", "inherits": false, @@ -1110,7 +1110,7 @@ 13 ] ], - "id": 5017, + "id": 5293, "flags": {}, "overrides": false, "inherits": false, @@ -1146,7 +1146,7 @@ 15 ] ], - "id": 5052, + "id": 5328, "flags": { "isStatic": true }, @@ -1190,7 +1190,7 @@ 14 ] ], - "id": 5026, + "id": 5302, "flags": { "isStatic": true }, @@ -1222,7 +1222,7 @@ 14 ] ], - "id": 5041, + "id": 5317, "flags": { "isStatic": true }, @@ -1277,7 +1277,7 @@ 13 ] ], - "id": 5069, + "id": 5345, "flags": { "isStatic": true }, @@ -1315,7 +1315,7 @@ 18 ] ], - "id": 5036, + "id": 5312, "flags": { "isStatic": true }, @@ -1359,7 +1359,7 @@ 16 ] ], - "id": 5029, + "id": 5305, "flags": { "isStatic": true }, @@ -1391,7 +1391,7 @@ 15 ] ], - "id": 5060, + "id": 5336, "flags": { "isStatic": true }, @@ -1435,7 +1435,7 @@ 14 ] ], - "id": 5032, + "id": 5308, "flags": { "isStatic": true }, @@ -1478,7 +1478,7 @@ 13 ] ], - "id": 5076, + "id": 5352, "flags": { "isStatic": true }, @@ -1525,7 +1525,7 @@ 14 ] ], - "id": 4980, + "id": 5256, "flags": { "isStatic": true }, @@ -1543,7 +1543,7 @@ 16 ] ], - "id": 4979, + "id": 5255, "flags": { "isStatic": true }, diff --git a/docs/json/class/Dom_HTMLSpace.json b/docs/json/class/Dom_HTMLSpace.json index 8366a467..8aede34e 100644 --- a/docs/json/class/Dom_HTMLSpace.json +++ b/docs/json/class/Dom_HTMLSpace.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 4768, + "id": 5044, "comment": "**[Experimental]** HTMLSpace is a subclass of DOMSpace that works with HTML elements. Note that this is currently experimental and may change in future. See [a demo here](../demo/index.html?name=htmlform.scope).", "constructor": [ { @@ -20,7 +20,7 @@ 22 ] ], - "id": 4789, + "id": 5065, "flags": {}, "overrides": false, "inherits": "DOMSpace.__constructor", @@ -68,7 +68,7 @@ 16 ] ], - "id": 4804, + "id": 5080, "flags": {}, "overrides": false, "inherits": "DOMSpace.autoResize", @@ -100,7 +100,7 @@ 16 ] ], - "id": 4824, + "id": 5100, "flags": {}, "overrides": false, "inherits": "DOMSpace.background", @@ -127,7 +127,7 @@ 12 ] ], - "id": 4949, + "id": 5225, "flags": {}, "overrides": false, "inherits": "Space.center", @@ -151,7 +151,7 @@ 21 ] ], - "id": 4929, + "id": 5205, "flags": {}, "overrides": false, "inherits": "Space.customRendering", @@ -178,7 +178,7 @@ 13 ] ], - "id": 4815, + "id": 5091, "flags": {}, "overrides": false, "inherits": "DOMSpace.element", @@ -197,7 +197,7 @@ 12 ] ], - "id": 4953, + "id": 5229, "flags": {}, "overrides": false, "inherits": "Space.height", @@ -216,7 +216,7 @@ 23 ] ], - "id": 4945, + "id": 5221, "flags": { "isPublic": true }, @@ -237,7 +237,7 @@ 15 ] ], - "id": 4941, + "id": 5217, "flags": {}, "overrides": false, "inherits": "Space.isPlaying", @@ -256,7 +256,7 @@ 16 ] ], - "id": 4943, + "id": 5219, "flags": {}, "overrides": false, "inherits": "Space.outerBound", @@ -275,7 +275,7 @@ 12 ] ], - "id": 4817, + "id": 5093, "flags": {}, "overrides": false, "inherits": "DOMSpace.parent", @@ -294,7 +294,7 @@ 20 ] ], - "id": 4848, + "id": 5124, "flags": { "isPublic": true }, @@ -315,7 +315,7 @@ 11 ] ], - "id": 4819, + "id": 5095, "flags": {}, "overrides": false, "inherits": "DOMSpace.ready", @@ -334,7 +334,7 @@ 10 ] ], - "id": 4947, + "id": 5223, "flags": {}, "overrides": false, "inherits": "Space.size", @@ -353,7 +353,7 @@ 11 ] ], - "id": 4951, + "id": 5227, "flags": {}, "overrides": false, "inherits": "Space.width", @@ -374,7 +374,7 @@ 5 ] ], - "id": 4904, + "id": 5180, "flags": {}, "overrides": false, "inherits": "Space.add", @@ -404,7 +404,7 @@ 12 ] ], - "id": 4850, + "id": 5126, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindCanvas", @@ -440,7 +440,7 @@ 11 ] ], - "id": 4858, + "id": 5134, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindMouse", @@ -475,7 +475,7 @@ 11 ] ], - "id": 4861, + "id": 5137, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindTouch", @@ -510,7 +510,7 @@ 7 ] ], - "id": 4821, + "id": 5097, "flags": {}, "overrides": "Space.clear", "inherits": "DOMSpace.clear", @@ -540,7 +540,7 @@ 9 ] ], - "id": 4769, + "id": 5045, "flags": {}, "overrides": "DOMSpace.getForm", "inherits": false, @@ -568,7 +568,7 @@ 7 ] ], - "id": 4915, + "id": 5191, "flags": {}, "overrides": false, "inherits": "Space.pause", @@ -598,7 +598,7 @@ 6 ] ], - "id": 4907, + "id": 5183, "flags": {}, "overrides": false, "inherits": "Space.play", @@ -628,7 +628,7 @@ 21 ] ], - "id": 4912, + "id": 5188, "flags": { "isProtected": true }, @@ -660,7 +660,7 @@ 10 ] ], - "id": 4923, + "id": 5199, "flags": {}, "overrides": false, "inherits": "Space.playOnce", @@ -690,7 +690,7 @@ 9 ] ], - "id": 4901, + "id": 5177, "flags": {}, "overrides": false, "inherits": "Space.refresh", @@ -720,7 +720,7 @@ 8 ] ], - "id": 4777, + "id": 5053, "flags": {}, "overrides": "Space.remove", "inherits": false, @@ -750,7 +750,7 @@ 11 ] ], - "id": 4780, + "id": 5056, "flags": {}, "overrides": "Space.removeAll", "inherits": false, @@ -773,7 +773,7 @@ 18 ] ], - "id": 4926, + "id": 5202, "flags": { "isProtected": true }, @@ -805,7 +805,7 @@ 8 ] ], - "id": 4910, + "id": 5186, "flags": {}, "overrides": false, "inherits": "Space.replay", @@ -828,7 +828,7 @@ 8 ] ], - "id": 4808, + "id": 5084, "flags": {}, "overrides": "Space.resize", "inherits": "DOMSpace.resize", @@ -864,7 +864,7 @@ 8 ] ], - "id": 4918, + "id": 5194, "flags": {}, "overrides": false, "inherits": "Space.resume", @@ -887,7 +887,7 @@ 7 ] ], - "id": 4798, + "id": 5074, "flags": {}, "overrides": false, "inherits": "DOMSpace.setup", @@ -922,7 +922,7 @@ 6 ] ], - "id": 4920, + "id": 5196, "flags": {}, "overrides": false, "inherits": "Space.stop", @@ -952,7 +952,7 @@ 7 ] ], - "id": 4828, + "id": 5104, "flags": {}, "overrides": false, "inherits": "DOMSpace.style", @@ -994,7 +994,7 @@ 8 ] ], - "id": 4833, + "id": 5109, "flags": {}, "overrides": false, "inherits": "DOMSpace.styles", @@ -1030,7 +1030,7 @@ 17 ] ], - "id": 4864, + "id": 5140, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.touchesToPoints", @@ -1066,7 +1066,7 @@ 14 ] ], - "id": 4854, + "id": 5130, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.unbindCanvas", @@ -1102,7 +1102,7 @@ 22 ] ], - "id": 4793, + "id": 5069, "flags": { "isStatic": true }, @@ -1146,7 +1146,7 @@ 24 ] ], - "id": 4841, + "id": 5117, "flags": { "isStatic": true }, @@ -1183,7 +1183,7 @@ 20 ] ], - "id": 4771, + "id": 5047, "flags": { "isStatic": true }, @@ -1233,7 +1233,7 @@ 16 ] ], - "id": 4837, + "id": 5113, "flags": { "isStatic": true }, @@ -1274,7 +1274,7 @@ 17 ] ], - "id": 4890, + "id": 5166, "flags": { "isProtected": true }, @@ -1292,7 +1292,7 @@ 4 ] ], - "id": 4784, + "id": 5060, "flags": {}, "type": "id", "overrides": "Space.id", @@ -1308,7 +1308,7 @@ 23 ] ], - "id": 4896, + "id": 5172, "flags": { "isProtected": true }, @@ -1326,7 +1326,7 @@ 19 ] ], - "id": 4895, + "id": 5171, "flags": { "isProtected": true }, diff --git a/docs/json/class/Form_Font.json b/docs/json/class/Form_Font.json index 2bc8d108..09180db5 100644 --- a/docs/json/class/Form_Font.json +++ b/docs/json/class/Form_Font.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 2600, + "id": 2876, "comment": "Font class lets you create a specific font style with properties for its size and style. A font instance can be passed as parameter to set a form's font. For example, see [`CanvasForm.font`](#link).", "constructor": [ { @@ -20,7 +20,7 @@ 23 ] ], - "id": 2606, + "id": 2882, "flags": {}, "overrides": false, "inherits": false, @@ -81,7 +81,7 @@ 11 ] ], - "id": 2613, + "id": 2889, "flags": {}, "overrides": false, "inherits": false, @@ -102,7 +102,7 @@ 10 ] ], - "id": 2615, + "id": 2891, "flags": {}, "overrides": false, "inherits": false, @@ -128,7 +128,7 @@ 13 ] ], - "id": 2603, + "id": 2879, "flags": { "isPublic": true }, @@ -146,7 +146,7 @@ 19 ] ], - "id": 2602, + "id": 2878, "flags": { "isPublic": true }, @@ -164,7 +164,7 @@ 13 ] ], - "id": 2601, + "id": 2877, "flags": { "isPublic": true }, @@ -182,7 +182,7 @@ 14 ] ], - "id": 2604, + "id": 2880, "flags": { "isPublic": true }, @@ -200,7 +200,7 @@ 15 ] ], - "id": 2605, + "id": 2881, "flags": { "isPublic": true }, diff --git a/docs/json/class/Form_Form.json b/docs/json/class/Form_Form.json index e1f337cf..a55a7cbb 100644 --- a/docs/json/class/Form_Form.json +++ b/docs/json/class/Form_Form.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 2490, + "id": 2766, "comment": "Form is an abstract class that represents a form that's used in a Space for expressions. Learn more about Space and Form in [this guide](../guide/Space-0500.html).", "constructor": [], "accessors": [ @@ -21,7 +21,7 @@ 11 ] ], - "id": 2492, + "id": 2768, "flags": {}, "overrides": false, "inherits": false, diff --git a/docs/json/class/Form_VisualForm.json b/docs/json/class/Form_VisualForm.json index 90c2df99..e1d4c43c 100644 --- a/docs/json/class/Form_VisualForm.json +++ b/docs/json/class/Form_VisualForm.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 2498, + "id": 2774, "comment": "VisualForm is an abstract class that represents a form that can be used to express Pts visually.\nFor example, [`CanvasForm`](#link) is an implementation of VisualForm that draws on [`CanvasSpace`](#link) which represents a html canvas. Learn more about Space and Form in [this guide](../guide/Space-0500.html).", "constructor": [], "accessors": [ @@ -21,7 +21,7 @@ 17 ] ], - "id": 2510, + "id": 2786, "flags": {}, "overrides": false, "inherits": false, @@ -45,7 +45,7 @@ 12 ] ], - "id": 2500, + "id": 2776, "flags": {}, "overrides": false, "inherits": false, @@ -72,7 +72,7 @@ 11 ] ], - "id": 2594, + "id": 2870, "flags": {}, "overrides": false, "inherits": "Form.ready", @@ -96,7 +96,7 @@ 13 ] ], - "id": 2505, + "id": 2781, "flags": {}, "overrides": false, "inherits": false, @@ -125,7 +125,7 @@ 14 ] ], - "id": 2556, + "id": 2832, "flags": { "isAbstract": true }, @@ -181,7 +181,7 @@ 17 ] ], - "id": 2547, + "id": 2823, "flags": { "isAbstract": true }, @@ -218,7 +218,7 @@ 9 ] ], - "id": 2550, + "id": 2826, "flags": {}, "overrides": false, "inherits": false, @@ -248,7 +248,7 @@ 6 ] ], - "id": 2519, + "id": 2795, "flags": {}, "overrides": false, "inherits": false, @@ -278,7 +278,7 @@ 10 ] ], - "id": 2522, + "id": 2798, "flags": {}, "overrides": false, "inherits": false, @@ -308,7 +308,7 @@ 15 ] ], - "id": 2586, + "id": 2862, "flags": { "isAbstract": true }, @@ -373,7 +373,7 @@ 15 ] ], - "id": 2563, + "id": 2839, "flags": { "isAbstract": true }, @@ -405,7 +405,7 @@ 7 ] ], - "id": 2566, + "id": 2842, "flags": {}, "overrides": false, "inherits": false, @@ -435,7 +435,7 @@ 16 ] ], - "id": 2537, + "id": 2813, "flags": { "isAbstract": true }, @@ -484,7 +484,7 @@ 8 ] ], - "id": 2542, + "id": 2818, "flags": {}, "overrides": false, "inherits": false, @@ -526,7 +526,7 @@ 18 ] ], - "id": 2569, + "id": 2845, "flags": { "isAbstract": true }, @@ -558,7 +558,7 @@ 10 ] ], - "id": 2572, + "id": 2848, "flags": {}, "overrides": false, "inherits": false, @@ -588,7 +588,7 @@ 15 ] ], - "id": 2575, + "id": 2851, "flags": { "isAbstract": true }, @@ -620,7 +620,7 @@ 7 ] ], - "id": 2578, + "id": 2854, "flags": {}, "overrides": false, "inherits": false, @@ -650,7 +650,7 @@ 16 ] ], - "id": 2517, + "id": 2793, "flags": { "isAbstract": true }, @@ -675,7 +675,7 @@ 9 ] ], - "id": 2553, + "id": 2829, "flags": {}, "overrides": false, "inherits": false, @@ -705,7 +705,7 @@ 8 ] ], - "id": 2525, + "id": 2801, "flags": {}, "overrides": false, "inherits": false, @@ -753,7 +753,7 @@ 12 ] ], - "id": 2531, + "id": 2807, "flags": {}, "overrides": false, "inherits": false, @@ -801,7 +801,7 @@ 15 ] ], - "id": 2581, + "id": 2857, "flags": { "isAbstract": true }, diff --git a/docs/json/class/Op_Circle.json b/docs/json/class/Op_Circle.json index 2ce6ff98..0420b3e9 100644 --- a/docs/json/class/Op_Circle.json +++ b/docs/json/class/Op_Circle.json @@ -18,11 +18,11 @@ "source": [ [ "Op.ts", - 616, + 631, 19 ] ], - "id": 600, + "id": 604, "flags": { "isStatic": true }, @@ -89,16 +89,54 @@ } ] }, + { + "name": "fromTriangle", + "source": [ + [ + "Op.ts", + 616, + 21 + ] + ], + "id": 600, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "Create a circle that either fits within, or encloses, a triangle. Same as [`Triangle.circumcircle`](#link) or [`Triangle.incircle`](#link).", + "returns": "Group", + "returns_comment": "a Group that represents a circle\n", + "parameters": [ + { + "name": "pts", + "comment": "a Group of 3 Pts representing a rectangle", + "type": "GroupLike", + "default": false + }, + { + "name": "enclose", + "comment": "if `true`, the circle will enclose the triangle. Default is `false`, which will fit the circle inside the triangle.", + "type": "boolean", + "default": "false" + } + ], + "tags": [] + } + ] + }, { "name": "intersectCircle2D", "source": [ [ "Op.ts", - 690, + 705, 26 ] ], - "id": 617, + "id": 621, "flags": { "isStatic": true }, @@ -132,11 +170,11 @@ "source": [ [ "Op.ts", - 672, + 687, 24 ] ], - "id": 613, + "id": 617, "flags": { "isStatic": true }, @@ -170,11 +208,11 @@ "source": [ [ "Op.ts", - 639, + 654, 23 ] ], - "id": 609, + "id": 613, "flags": { "isStatic": true }, @@ -208,11 +246,11 @@ "source": [ [ "Op.ts", - 724, + 739, 24 ] ], - "id": 621, + "id": 625, "flags": { "isStatic": true }, @@ -246,11 +284,11 @@ "source": [ [ "Op.ts", - 741, + 756, 15 ] ], - "id": 625, + "id": 629, "flags": { "isStatic": true }, @@ -284,11 +322,11 @@ "source": [ [ "Op.ts", - 757, + 772, 19 ] ], - "id": 629, + "id": 633, "flags": { "isStatic": true }, @@ -322,11 +360,11 @@ "source": [ [ "Op.ts", - 627, + 642, 20 ] ], - "id": 604, + "id": 608, "flags": { "isStatic": true }, diff --git a/docs/json/class/Op_Curve.json b/docs/json/class/Op_Curve.json index 2e413fad..c5642505 100644 --- a/docs/json/class/Op_Curve.json +++ b/docs/json/class/Op_Curve.json @@ -3,12 +3,12 @@ "source": [ [ "Op.ts", - 1395, + 1410, 18 ] ], "kind": "Class", - "id": 758, + "id": 762, "comment": "Curve class provides static functions to interpolate curves. A curve is usually represented as a Group of 3 or more control points.\nYou can use the static functions as-is, or apply the [`Group.op`](#link) or [`Pt.op`](#link) to enable functional programming.\nSee [Op guide](../guide/Op-0400.html) for details.", "constructor": [], "accessors": [], @@ -18,11 +18,11 @@ "source": [ [ "Op.ts", - 1580, + 1595, 15 ] ], - "id": 789, + "id": 793, "flags": { "isStatic": true }, @@ -56,11 +56,11 @@ "source": [ [ "Op.ts", - 1609, + 1624, 19 ] ], - "id": 793, + "id": 797, "flags": { "isStatic": true }, @@ -94,11 +94,11 @@ "source": [ [ "Op.ts", - 1635, + 1650, 16 ] ], - "id": 797, + "id": 801, "flags": { "isStatic": true }, @@ -138,11 +138,11 @@ "source": [ [ "Op.ts", - 1668, + 1683, 20 ] ], - "id": 802, + "id": 806, "flags": { "isStatic": true }, @@ -176,11 +176,11 @@ "source": [ [ "Op.ts", - 1694, + 1709, 27 ] ], - "id": 806, + "id": 810, "flags": { "isStatic": true }, @@ -220,11 +220,11 @@ "source": [ [ "Op.ts", - 1511, + 1526, 17 ] ], - "id": 779, + "id": 783, "flags": { "isStatic": true }, @@ -264,11 +264,11 @@ "source": [ [ "Op.ts", - 1544, + 1559, 21 ] ], - "id": 784, + "id": 788, "flags": { "isStatic": true }, @@ -308,11 +308,11 @@ "source": [ [ "Op.ts", - 1452, + 1467, 19 ] ], - "id": 771, + "id": 775, "flags": { "isStatic": true }, @@ -346,11 +346,11 @@ "source": [ [ "Op.ts", - 1485, + 1500, 23 ] ], - "id": 775, + "id": 779, "flags": { "isStatic": true }, @@ -384,11 +384,11 @@ "source": [ [ "Op.ts", - 1417, + 1432, 22 ] ], - "id": 762, + "id": 766, "flags": { "isStatic": true }, @@ -428,11 +428,11 @@ "source": [ [ "Op.ts", - 1401, + 1416, 17 ] ], - "id": 759, + "id": 763, "flags": { "isStatic": true }, diff --git a/docs/json/class/Op_Polygon.json b/docs/json/class/Op_Polygon.json index 879e2b9a..b946012e 100644 --- a/docs/json/class/Op_Polygon.json +++ b/docs/json/class/Op_Polygon.json @@ -3,12 +3,12 @@ "source": [ [ "Op.ts", - 926, + 941, 20 ] ], "kind": "Class", - "id": 672, + "id": 676, "comment": "Polygon class provides static functions to create and operate on polygons. A polygon is usually represented as a Group of 3 or more Pts.\nYou can use the static functions as-is, or apply the [`Group.op`](#link) or [`Pt.op`](#link) to enable functional programming.\nSee [Op guide](../guide/Op-0400.html) for details.", "constructor": [], "accessors": [], @@ -18,11 +18,11 @@ "source": [ [ "Op.ts", - 1006, + 1021, 22 ] ], - "id": 699, + "id": 703, "flags": { "isStatic": true }, @@ -62,11 +62,11 @@ "source": [ [ "Op.ts", - 1072, + 1087, 13 ] ], - "id": 715, + "id": 719, "flags": { "isStatic": true }, @@ -94,11 +94,11 @@ "source": [ [ "Op.ts", - 1030, + 1045, 17 ] ], - "id": 704, + "id": 708, "flags": { "isStatic": true }, @@ -132,11 +132,11 @@ "source": [ [ "Op.ts", - 932, + 947, 17 ] ], - "id": 673, + "id": 677, "flags": { "isStatic": true }, @@ -164,11 +164,11 @@ "source": [ [ "Op.ts", - 1094, + 1109, 19 ] ], - "id": 718, + "id": 722, "flags": { "isStatic": true }, @@ -202,11 +202,11 @@ "source": [ [ "Op.ts", - 954, + 969, 19 ] ], - "id": 681, + "id": 685, "flags": { "isStatic": true }, @@ -246,11 +246,11 @@ "source": [ [ "Op.ts", - 1243, + 1258, 27 ] ], - "id": 743, + "id": 747, "flags": { "isStatic": true }, @@ -284,11 +284,11 @@ "source": [ [ "Op.ts", - 1222, + 1237, 26 ] ], - "id": 739, + "id": 743, "flags": { "isStatic": true }, @@ -322,11 +322,11 @@ "source": [ [ "Op.ts", - 1300, + 1315, 28 ] ], - "id": 747, + "id": 751, "flags": { "isStatic": true }, @@ -360,11 +360,11 @@ "source": [ [ "Op.ts", - 1364, + 1379, 27 ] ], - "id": 751, + "id": 755, "flags": { "isStatic": true }, @@ -398,11 +398,11 @@ "source": [ [ "Op.ts", - 969, + 984, 15 ] ], - "id": 686, + "id": 690, "flags": { "isStatic": true }, @@ -436,11 +436,11 @@ "source": [ [ "Op.ts", - 980, + 995, 14 ] ], - "id": 690, + "id": 694, "flags": { "isStatic": true }, @@ -474,11 +474,11 @@ "source": [ [ "Op.ts", - 993, + 1008, 18 ] ], - "id": 694, + "id": 698, "flags": { "isStatic": true }, @@ -518,11 +518,11 @@ "source": [ [ "Op.ts", - 1174, + 1189, 18 ] ], - "id": 726, + "id": 730, "flags": { "isStatic": true }, @@ -556,11 +556,11 @@ "source": [ [ "Op.ts", - 1159, + 1174, 16 ] ], - "id": 722, + "id": 726, "flags": { "isStatic": true }, @@ -594,11 +594,11 @@ "source": [ [ "Op.ts", - 1049, + 1064, 18 ] ], - "id": 708, + "id": 712, "flags": { "isStatic": true }, @@ -632,11 +632,11 @@ "source": [ [ "Op.ts", - 1193, + 1208, 20 ] ], - "id": 730, + "id": 734, "flags": { "isStatic": true }, @@ -670,11 +670,11 @@ "source": [ [ "Op.ts", - 943, + 958, 18 ] ], - "id": 676, + "id": 680, "flags": { "isStatic": true }, @@ -714,11 +714,11 @@ "source": [ [ "Op.ts", - 1379, + 1394, 16 ] ], - "id": 755, + "id": 759, "flags": { "isStatic": true }, diff --git a/docs/json/class/Op_Triangle.json b/docs/json/class/Op_Triangle.json index 45eb5d21..c7d8091d 100644 --- a/docs/json/class/Op_Triangle.json +++ b/docs/json/class/Op_Triangle.json @@ -3,12 +3,12 @@ "source": [ [ "Op.ts", - 781, + 796, 21 ] ], "kind": "Class", - "id": 633, + "id": 637, "comment": "Triangle class provides static functions to create and operate on trianges. A triange is a polygon represented as a Group of 3 Pts.\nYou can use the static functions as-is, or apply the [`Group.op`](#link) or [`Pt.op`](#link) to enable functional programming.\nSee [Op guide](../guide/Op-0400.html) for details.", "constructor": [], "accessors": [], @@ -18,11 +18,11 @@ "source": [ [ "Op.ts", - 849, + 864, 17 ] ], - "id": 651, + "id": 655, "flags": { "isStatic": true }, @@ -56,11 +56,11 @@ "source": [ [ "Op.ts", - 900, + 915, 21 ] ], - "id": 665, + "id": 669, "flags": { "isStatic": true }, @@ -88,11 +88,11 @@ "source": [ [ "Op.ts", - 912, + 927, 21 ] ], - "id": 668, + "id": 672, "flags": { "isStatic": true }, @@ -126,11 +126,11 @@ "source": [ [ "Op.ts", - 810, + 825, 19 ] ], - "id": 640, + "id": 644, "flags": { "isStatic": true }, @@ -164,11 +164,11 @@ "source": [ [ "Op.ts", - 800, + 815, 19 ] ], - "id": 637, + "id": 641, "flags": { "isStatic": true }, @@ -196,11 +196,11 @@ "source": [ [ "Op.ts", - 787, + 802, 17 ] ], - "id": 634, + "id": 638, "flags": { "isStatic": true }, @@ -228,11 +228,11 @@ "source": [ [ "Op.ts", - 875, + 890, 17 ] ], - "id": 658, + "id": 662, "flags": { "isStatic": true }, @@ -260,11 +260,11 @@ "source": [ [ "Op.ts", - 887, + 902, 17 ] ], - "id": 661, + "id": 665, "flags": { "isStatic": true }, @@ -298,11 +298,11 @@ "source": [ [ "Op.ts", - 820, + 835, 15 ] ], - "id": 644, + "id": 648, "flags": { "isStatic": true }, @@ -330,11 +330,11 @@ "source": [ [ "Op.ts", - 832, + 847, 21 ] ], - "id": 647, + "id": 651, "flags": { "isStatic": true }, @@ -368,11 +368,11 @@ "source": [ [ "Op.ts", - 863, + 878, 20 ] ], - "id": 655, + "id": 659, "flags": { "isStatic": true }, diff --git a/docs/json/class/Physics_Body.json b/docs/json/class/Physics_Body.json index 02c3c837..58daaa45 100644 --- a/docs/json/class/Physics_Body.json +++ b/docs/json/class/Physics_Body.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 5663, + "id": 5939, "comment": "Body is a subclass of [`Group`](#link) that stores a set of [`Particle`](#link)s and edge constraints. It is usually added into a [`World`](#link) to create physics simulations.\nSee [a demo here](../demo/index.html?name=physics.shapes).", "constructor": [ { @@ -20,7 +20,7 @@ 29 ] ], - "id": 5671, + "id": 5947, "flags": {}, "overrides": "Group.__constructor", "inherits": false, @@ -50,7 +50,7 @@ 8 ] ], - "id": 5708, + "id": 5984, "flags": {}, "overrides": false, "inherits": "Group.id", @@ -82,7 +82,7 @@ 10 ] ], - "id": 5683, + "id": 5959, "flags": {}, "overrides": false, "inherits": false, @@ -109,7 +109,7 @@ 8 ] ], - "id": 5712, + "id": 5988, "flags": {}, "overrides": false, "inherits": "Group.p1", @@ -128,7 +128,7 @@ 8 ] ], - "id": 5714, + "id": 5990, "flags": {}, "overrides": false, "inherits": "Group.p2", @@ -147,7 +147,7 @@ 8 ] ], - "id": 5716, + "id": 5992, "flags": {}, "overrides": false, "inherits": "Group.p3", @@ -166,7 +166,7 @@ 8 ] ], - "id": 5718, + "id": 5994, "flags": {}, "overrides": false, "inherits": "Group.p4", @@ -185,7 +185,7 @@ 8 ] ], - "id": 5720, + "id": 5996, "flags": {}, "overrides": false, "inherits": "Group.q1", @@ -204,7 +204,7 @@ 8 ] ], - "id": 5722, + "id": 5998, "flags": {}, "overrides": false, "inherits": "Group.q2", @@ -223,7 +223,7 @@ 8 ] ], - "id": 5724, + "id": 6000, "flags": {}, "overrides": false, "inherits": "Group.q3", @@ -242,7 +242,7 @@ 8 ] ], - "id": 5726, + "id": 6002, "flags": {}, "overrides": false, "inherits": "Group.q4", @@ -263,7 +263,7 @@ 12 ] ], - "id": 5833, + "id": 6109, "flags": {}, "overrides": false, "inherits": "Group.$matrixAdd", @@ -293,7 +293,7 @@ 17 ] ], - "id": 5836, + "id": 6112, "flags": {}, "overrides": false, "inherits": "Group.$matrixMultiply", @@ -335,7 +335,7 @@ 6 ] ], - "id": 5845, + "id": 6121, "flags": {}, "overrides": false, "inherits": "Group.$zip", @@ -371,7 +371,7 @@ 5 ] ], - "id": 5821, + "id": 6097, "flags": {}, "overrides": false, "inherits": "Group.add", @@ -401,7 +401,7 @@ 12 ] ], - "id": 5763, + "id": 6039, "flags": {}, "overrides": false, "inherits": "Group.anchorFrom", @@ -431,7 +431,7 @@ 10 ] ], - "id": 5760, + "id": 6036, "flags": {}, "overrides": false, "inherits": "Group.anchorTo", @@ -461,7 +461,7 @@ 10 ] ], - "id": 5687, + "id": 5963, "flags": {}, "overrides": false, "inherits": false, @@ -484,7 +484,7 @@ 13 ] ], - "id": 5758, + "id": 6034, "flags": {}, "overrides": false, "inherits": "Group.boundingBox", @@ -507,7 +507,7 @@ 10 ] ], - "id": 5756, + "id": 6032, "flags": {}, "overrides": false, "inherits": "Group.centroid", @@ -530,7 +530,7 @@ 7 ] ], - "id": 5728, + "id": 6004, "flags": {}, "overrides": false, "inherits": "Group.clone", @@ -553,7 +553,7 @@ 8 ] ], - "id": 5830, + "id": 6106, "flags": {}, "overrides": false, "inherits": "Group.divide", @@ -583,7 +583,7 @@ 11 ] ], - "id": 5817, + "id": 6093, "flags": {}, "overrides": false, "inherits": "Group.forEachPt", @@ -619,7 +619,7 @@ 6 ] ], - "id": 5679, + "id": 5955, "flags": {}, "overrides": false, "inherits": false, @@ -655,7 +655,7 @@ 8 ] ], - "id": 5741, + "id": 6017, "flags": {}, "overrides": false, "inherits": "Group.insert", @@ -691,7 +691,7 @@ 13 ] ], - "id": 5786, + "id": 6062, "flags": {}, "overrides": false, "inherits": "Group.interpolate", @@ -721,7 +721,7 @@ 7 ] ], - "id": 5754, + "id": 6030, "flags": {}, "overrides": false, "inherits": "Group.lines", @@ -744,7 +744,7 @@ 6 ] ], - "id": 5689, + "id": 5965, "flags": {}, "overrides": false, "inherits": false, @@ -786,7 +786,7 @@ 9 ] ], - "id": 5694, + "id": 5970, "flags": {}, "overrides": false, "inherits": false, @@ -816,7 +816,7 @@ 14 ] ], - "id": 5697, + "id": 5973, "flags": {}, "overrides": false, "inherits": false, @@ -839,7 +839,7 @@ 8 ] ], - "id": 5789, + "id": 6065, "flags": {}, "overrides": false, "inherits": "Group.moveBy", @@ -869,7 +869,7 @@ 8 ] ], - "id": 5792, + "id": 6068, "flags": {}, "overrides": false, "inherits": "Group.moveTo", @@ -899,7 +899,7 @@ 10 ] ], - "id": 5827, + "id": 6103, "flags": {}, "overrides": false, "inherits": "Group.multiply", @@ -929,7 +929,7 @@ 4 ] ], - "id": 5766, + "id": 6042, "flags": {}, "overrides": false, "inherits": "Group.op", @@ -964,7 +964,7 @@ 5 ] ], - "id": 5776, + "id": 6052, "flags": {}, "overrides": false, "inherits": "Group.ops", @@ -999,7 +999,7 @@ 13 ] ], - "id": 5701, + "id": 5977, "flags": {}, "overrides": false, "inherits": false, @@ -1029,7 +1029,7 @@ 14 ] ], - "id": 5699, + "id": 5975, "flags": {}, "overrides": false, "inherits": false, @@ -1052,7 +1052,7 @@ 17 ] ], - "id": 5704, + "id": 5980, "flags": {}, "overrides": false, "inherits": false, @@ -1082,7 +1082,7 @@ 11 ] ], - "id": 5809, + "id": 6085, "flags": {}, "overrides": false, "inherits": "Group.reflect2D", @@ -1118,7 +1118,7 @@ 8 ] ], - "id": 5745, + "id": 6021, "flags": {}, "overrides": false, "inherits": "Group.remove", @@ -1154,7 +1154,7 @@ 10 ] ], - "id": 5799, + "id": 6075, "flags": {}, "overrides": false, "inherits": "Group.rotate2D", @@ -1196,7 +1196,7 @@ 7 ] ], - "id": 5795, + "id": 6071, "flags": {}, "overrides": false, "inherits": "Group.scale", @@ -1232,7 +1232,7 @@ 10 ] ], - "id": 5749, + "id": 6025, "flags": {}, "overrides": false, "inherits": "Group.segments", @@ -1274,7 +1274,7 @@ 9 ] ], - "id": 5804, + "id": 6080, "flags": {}, "overrides": false, "inherits": "Group.shear2D", @@ -1316,7 +1316,7 @@ 17 ] ], - "id": 5813, + "id": 6089, "flags": {}, "overrides": false, "inherits": "Group.sortByDimension", @@ -1352,7 +1352,7 @@ 7 ] ], - "id": 5736, + "id": 6012, "flags": {}, "overrides": false, "inherits": "Group.split", @@ -1394,7 +1394,7 @@ 10 ] ], - "id": 5824, + "id": 6100, "flags": {}, "overrides": false, "inherits": "Group.subtract", @@ -1424,7 +1424,7 @@ 10 ] ], - "id": 5849, + "id": 6125, "flags": {}, "overrides": false, "inherits": "Group.toString", @@ -1447,7 +1447,7 @@ 10 ] ], - "id": 5841, + "id": 6117, "flags": {}, "overrides": false, "inherits": "Group.zipSlice", @@ -1488,7 +1488,7 @@ 10 ] ], - "id": 5861, + "id": 6137, "flags": { "isStatic": true }, @@ -1534,7 +1534,7 @@ 9 ] ], - "id": 5903, + "id": 6179, "flags": { "isStatic": true }, @@ -1577,7 +1577,7 @@ 10 ] ], - "id": 5940, + "id": 6216, "flags": { "isStatic": true }, @@ -1635,7 +1635,7 @@ 11 ] ], - "id": 5921, + "id": 6197, "flags": { "isStatic": true }, @@ -1673,7 +1673,7 @@ 18 ] ], - "id": 5730, + "id": 6006, "flags": { "isStatic": true }, @@ -1710,7 +1710,7 @@ 18 ] ], - "id": 5673, + "id": 5949, "flags": { "isStatic": true }, @@ -1760,7 +1760,7 @@ 20 ] ], - "id": 5733, + "id": 6009, "flags": { "isStatic": true }, @@ -1792,7 +1792,7 @@ 11 ] ], - "id": 5895, + "id": 6171, "flags": { "isStatic": true }, @@ -1830,7 +1830,7 @@ 8 ] ], - "id": 5866, + "id": 6142, "flags": { "isStatic": true }, @@ -1862,7 +1862,7 @@ 15 ] ], - "id": 5899, + "id": 6175, "flags": { "isStatic": true }, @@ -1900,7 +1900,7 @@ 7 ] ], - "id": 5930, + "id": 6206, "flags": { "isStatic": true }, @@ -1938,7 +1938,7 @@ 7 ] ], - "id": 5859, + "id": 6135, "flags": { "isStatic": true }, @@ -1963,7 +1963,7 @@ 8 ] ], - "id": 5856, + "id": 6132, "flags": { "isStatic": true }, @@ -2005,7 +2005,7 @@ 10 ] ], - "id": 5958, + "id": 6234, "flags": { "isStatic": true }, @@ -2087,7 +2087,7 @@ 15 ] ], - "id": 5986, + "id": 6262, "flags": { "isStatic": true }, @@ -2159,7 +2159,7 @@ 11 ] ], - "id": 5869, + "id": 6145, "flags": { "isStatic": true }, @@ -2184,7 +2184,7 @@ 9 ] ], - "id": 5871, + "id": 6147, "flags": { "isStatic": true }, @@ -2209,7 +2209,7 @@ 9 ] ], - "id": 5873, + "id": 6149, "flags": { "isStatic": true }, @@ -2247,7 +2247,7 @@ 8 ] ], - "id": 5912, + "id": 6188, "flags": { "isStatic": true }, @@ -2285,7 +2285,7 @@ 8 ] ], - "id": 5877, + "id": 6153, "flags": { "isStatic": true }, @@ -2322,7 +2322,7 @@ 10 ] ], - "id": 5884, + "id": 6160, "flags": { "isStatic": true }, @@ -2386,7 +2386,7 @@ 18 ] ], - "id": 5854, + "id": 6130, "flags": { "isStatic": true }, @@ -2411,7 +2411,7 @@ 12 ] ], - "id": 5852, + "id": 6128, "flags": { "isStatic": true }, @@ -2436,7 +2436,7 @@ 11 ] ], - "id": 5892, + "id": 6168, "flags": { "isStatic": true }, @@ -2471,7 +2471,7 @@ 10 ] ], - "id": 5851, + "id": 6127, "flags": { "isStatic": true }, diff --git a/docs/json/class/Physics_Particle.json b/docs/json/class/Physics_Particle.json index 190d0575..27f7743b 100644 --- a/docs/json/class/Physics_Particle.json +++ b/docs/json/class/Physics_Particle.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 5254, + "id": 5530, "comment": "Particle is a subclass of [`Pt`](#link) that has radius and mass. It's usually added into [`World`](#link) to create physics simulations.\nSee [a demo here](../demo/index.html?name=physics.particles).", "constructor": [ { @@ -20,7 +20,7 @@ 23 ] ], - "id": 5262, + "id": 5538, "flags": {}, "overrides": "Pt.__constructor", "inherits": false, @@ -57,7 +57,7 @@ 10 ] ], - "id": 5281, + "id": 5557, "flags": {}, "overrides": false, "inherits": false, @@ -84,7 +84,7 @@ 13 ] ], - "id": 5289, + "id": 5565, "flags": {}, "overrides": false, "inherits": false, @@ -108,7 +108,7 @@ 11 ] ], - "id": 5277, + "id": 5553, "flags": {}, "overrides": false, "inherits": false, @@ -140,7 +140,7 @@ 8 ] ], - "id": 5320, + "id": 5596, "flags": {}, "overrides": false, "inherits": "Pt.id", @@ -172,7 +172,7 @@ 10 ] ], - "id": 5285, + "id": 5561, "flags": {}, "overrides": false, "inherits": false, @@ -204,7 +204,7 @@ 10 ] ], - "id": 5265, + "id": 5541, "flags": {}, "overrides": false, "inherits": false, @@ -231,7 +231,7 @@ 14 ] ], - "id": 5291, + "id": 5567, "flags": {}, "overrides": false, "inherits": false, @@ -261,7 +261,7 @@ 14 ] ], - "id": 5273, + "id": 5549, "flags": {}, "overrides": false, "inherits": false, @@ -293,7 +293,7 @@ 12 ] ], - "id": 5269, + "id": 5545, "flags": {}, "overrides": false, "inherits": false, @@ -325,7 +325,7 @@ 7 ] ], - "id": 5336, + "id": 5612, "flags": {}, "overrides": false, "inherits": "Pt.w", @@ -357,7 +357,7 @@ 7 ] ], - "id": 5324, + "id": 5600, "flags": {}, "overrides": false, "inherits": "Pt.x", @@ -389,7 +389,7 @@ 7 ] ], - "id": 5328, + "id": 5604, "flags": {}, "overrides": false, "inherits": "Pt.y", @@ -421,7 +421,7 @@ 7 ] ], - "id": 5332, + "id": 5608, "flags": {}, "overrides": false, "inherits": "Pt.z", @@ -450,7 +450,7 @@ 6 ] ], - "id": 5434, + "id": 5710, "flags": {}, "overrides": false, "inherits": "Pt.$abs", @@ -473,7 +473,7 @@ 6 ] ], - "id": 5386, + "id": 5662, "flags": {}, "overrides": false, "inherits": "Pt.$add", @@ -503,7 +503,7 @@ 7 ] ], - "id": 5442, + "id": 5718, "flags": {}, "overrides": false, "inherits": "Pt.$ceil", @@ -526,7 +526,7 @@ 9 ] ], - "id": 5380, + "id": 5656, "flags": {}, "overrides": false, "inherits": "Pt.$concat", @@ -556,7 +556,7 @@ 8 ] ], - "id": 5423, + "id": 5699, "flags": {}, "overrides": false, "inherits": "Pt.$cross", @@ -586,7 +586,7 @@ 10 ] ], - "id": 5420, + "id": 5696, "flags": {}, "overrides": false, "inherits": "Pt.$cross2D", @@ -616,7 +616,7 @@ 9 ] ], - "id": 5404, + "id": 5680, "flags": {}, "overrides": false, "inherits": "Pt.$divide", @@ -646,7 +646,7 @@ 8 ] ], - "id": 5438, + "id": 5714, "flags": {}, "overrides": false, "inherits": "Pt.$floor", @@ -669,7 +669,7 @@ 6 ] ], - "id": 5461, + "id": 5737, "flags": {}, "overrides": false, "inherits": "Pt.$max", @@ -699,7 +699,7 @@ 6 ] ], - "id": 5458, + "id": 5734, "flags": {}, "overrides": false, "inherits": "Pt.$min", @@ -729,7 +729,7 @@ 11 ] ], - "id": 5398, + "id": 5674, "flags": {}, "overrides": false, "inherits": "Pt.$multiply", @@ -759,7 +759,7 @@ 10 ] ], - "id": 5426, + "id": 5702, "flags": {}, "overrides": false, "inherits": "Pt.$project", @@ -789,7 +789,7 @@ 8 ] ], - "id": 5446, + "id": 5722, "flags": {}, "overrides": false, "inherits": "Pt.$round", @@ -812,7 +812,7 @@ 11 ] ], - "id": 5392, + "id": 5668, "flags": {}, "overrides": false, "inherits": "Pt.$subtract", @@ -842,7 +842,7 @@ 7 ] ], - "id": 5377, + "id": 5653, "flags": {}, "overrides": false, "inherits": "Pt.$take", @@ -872,7 +872,7 @@ 5 ] ], - "id": 5349, + "id": 5625, "flags": {}, "overrides": false, "inherits": "Pt.$to", @@ -902,7 +902,7 @@ 7 ] ], - "id": 5414, + "id": 5690, "flags": {}, "overrides": false, "inherits": "Pt.$unit", @@ -932,7 +932,7 @@ 5 ] ], - "id": 5432, + "id": 5708, "flags": {}, "overrides": false, "inherits": "Pt.abs", @@ -955,7 +955,7 @@ 5 ] ], - "id": 5383, + "id": 5659, "flags": {}, "overrides": false, "inherits": "Pt.add", @@ -985,7 +985,7 @@ 10 ] ], - "id": 5297, + "id": 5573, "flags": {}, "overrides": false, "inherits": false, @@ -1015,7 +1015,7 @@ 7 ] ], - "id": 5464, + "id": 5740, "flags": {}, "overrides": false, "inherits": "Pt.angle", @@ -1045,7 +1045,7 @@ 14 ] ], - "id": 5467, + "id": 5743, "flags": {}, "overrides": false, "inherits": "Pt.angleBetween", @@ -1081,7 +1081,7 @@ 6 ] ], - "id": 5440, + "id": 5716, "flags": {}, "overrides": false, "inherits": "Pt.ceil", @@ -1104,7 +1104,7 @@ 7 ] ], - "id": 5340, + "id": 5616, "flags": {}, "overrides": false, "inherits": "Pt.clone", @@ -1127,7 +1127,7 @@ 9 ] ], - "id": 5308, + "id": 5584, "flags": {}, "overrides": false, "inherits": false, @@ -1163,7 +1163,7 @@ 8 ] ], - "id": 5401, + "id": 5677, "flags": {}, "overrides": false, "inherits": "Pt.divide", @@ -1193,7 +1193,7 @@ 5 ] ], - "id": 5417, + "id": 5693, "flags": {}, "overrides": false, "inherits": "Pt.dot", @@ -1223,7 +1223,7 @@ 8 ] ], - "id": 5342, + "id": 5618, "flags": {}, "overrides": false, "inherits": "Pt.equals", @@ -1259,7 +1259,7 @@ 7 ] ], - "id": 5436, + "id": 5712, "flags": {}, "overrides": false, "inherits": "Pt.floor", @@ -1282,7 +1282,7 @@ 5 ] ], - "id": 5305, + "id": 5581, "flags": {}, "overrides": false, "inherits": false, @@ -1317,7 +1317,7 @@ 11 ] ], - "id": 5409, + "id": 5685, "flags": {}, "overrides": false, "inherits": "Pt.magnitude", @@ -1340,7 +1340,7 @@ 13 ] ], - "id": 5407, + "id": 5683, "flags": {}, "overrides": false, "inherits": "Pt.magnitudeSq", @@ -1363,7 +1363,7 @@ 10 ] ], - "id": 5453, + "id": 5729, "flags": {}, "overrides": false, "inherits": "Pt.maxValue", @@ -1386,7 +1386,7 @@ 10 ] ], - "id": 5448, + "id": 5724, "flags": {}, "overrides": false, "inherits": "Pt.minValue", @@ -1409,7 +1409,7 @@ 10 ] ], - "id": 5395, + "id": 5671, "flags": {}, "overrides": false, "inherits": "Pt.multiply", @@ -1439,7 +1439,7 @@ 4 ] ], - "id": 5357, + "id": 5633, "flags": {}, "overrides": false, "inherits": "Pt.op", @@ -1474,7 +1474,7 @@ 5 ] ], - "id": 5367, + "id": 5643, "flags": {}, "overrides": false, "inherits": "Pt.ops", @@ -1509,7 +1509,7 @@ 15 ] ], - "id": 5429, + "id": 5705, "flags": {}, "overrides": false, "inherits": "Pt.projectScalar", @@ -1539,7 +1539,7 @@ 11 ] ], - "id": 5485, + "id": 5761, "flags": {}, "overrides": false, "inherits": "Pt.reflect2D", @@ -1575,7 +1575,7 @@ 10 ] ], - "id": 5475, + "id": 5751, "flags": {}, "overrides": false, "inherits": "Pt.rotate2D", @@ -1617,7 +1617,7 @@ 7 ] ], - "id": 5444, + "id": 5720, "flags": {}, "overrides": false, "inherits": "Pt.round", @@ -1640,7 +1640,7 @@ 7 ] ], - "id": 5471, + "id": 5747, "flags": {}, "overrides": false, "inherits": "Pt.scale", @@ -1676,7 +1676,7 @@ 9 ] ], - "id": 5480, + "id": 5756, "flags": {}, "overrides": false, "inherits": "Pt.shear2D", @@ -1718,7 +1718,7 @@ 6 ] ], - "id": 5294, + "id": 5570, "flags": {}, "overrides": false, "inherits": false, @@ -1748,7 +1748,7 @@ 10 ] ], - "id": 5389, + "id": 5665, "flags": {}, "overrides": false, "inherits": "Pt.subtract", @@ -1778,7 +1778,7 @@ 4 ] ], - "id": 5346, + "id": 5622, "flags": {}, "overrides": false, "inherits": "Pt.to", @@ -1808,7 +1808,7 @@ 9 ] ], - "id": 5352, + "id": 5628, "flags": {}, "overrides": false, "inherits": "Pt.toAngle", @@ -1850,7 +1850,7 @@ 9 ] ], - "id": 5489, + "id": 5765, "flags": {}, "overrides": false, "inherits": "Pt.toArray", @@ -1873,7 +1873,7 @@ 10 ] ], - "id": 5312, + "id": 5588, "flags": {}, "overrides": "Pt.toString", "inherits": false, @@ -1896,7 +1896,7 @@ 6 ] ], - "id": 5411, + "id": 5687, "flags": {}, "overrides": false, "inherits": "Pt.unit", @@ -1926,7 +1926,7 @@ 8 ] ], - "id": 5300, + "id": 5576, "flags": {}, "overrides": false, "inherits": false, @@ -1968,7 +1968,7 @@ 14 ] ], - "id": 5495, + "id": 5771, "flags": { "isStatic": true }, @@ -2012,7 +2012,7 @@ 9 ] ], - "id": 5500, + "id": 5776, "flags": { "isStatic": true }, @@ -2050,7 +2050,7 @@ 8 ] ], - "id": 5509, + "id": 5785, "flags": { "isStatic": true }, @@ -2094,7 +2094,7 @@ 10 ] ], - "id": 5514, + "id": 5790, "flags": { "isStatic": true }, @@ -2132,7 +2132,7 @@ 8 ] ], - "id": 5523, + "id": 5799, "flags": { "isStatic": true }, @@ -2170,7 +2170,7 @@ 13 ] ], - "id": 5532, + "id": 5808, "flags": { "isStatic": true }, @@ -2208,7 +2208,7 @@ 11 ] ], - "id": 5541, + "id": 5817, "flags": { "isStatic": true }, @@ -2246,7 +2246,7 @@ 11 ] ], - "id": 5550, + "id": 5826, "flags": { "isStatic": true }, @@ -2284,7 +2284,7 @@ 8 ] ], - "id": 5554, + "id": 5830, "flags": { "isStatic": true }, @@ -2316,7 +2316,7 @@ 15 ] ], - "id": 5557, + "id": 5833, "flags": { "isStatic": true }, @@ -2354,7 +2354,7 @@ 13 ] ], - "id": 5315, + "id": 5591, "flags": { "isStatic": true }, @@ -2398,7 +2398,7 @@ 7 ] ], - "id": 5562, + "id": 5838, "flags": { "isStatic": true }, @@ -2446,7 +2446,7 @@ 10 ] ], - "id": 5571, + "id": 5847, "flags": { "isStatic": true }, @@ -2528,7 +2528,7 @@ 15 ] ], - "id": 5599, + "id": 5875, "flags": { "isStatic": true }, @@ -2600,7 +2600,7 @@ 11 ] ], - "id": 5627, + "id": 5903, "flags": { "isStatic": true }, @@ -2625,7 +2625,7 @@ 7 ] ], - "id": 5629, + "id": 5905, "flags": { "isStatic": true }, @@ -2663,7 +2663,7 @@ 9 ] ], - "id": 5633, + "id": 5909, "flags": { "isStatic": true }, @@ -2701,7 +2701,7 @@ 8 ] ], - "id": 5637, + "id": 5913, "flags": { "isStatic": true }, @@ -2739,7 +2739,7 @@ 8 ] ], - "id": 5646, + "id": 5922, "flags": { "isStatic": true }, @@ -2771,7 +2771,7 @@ 12 ] ], - "id": 5653, + "id": 5929, "flags": { "isStatic": true }, @@ -2809,7 +2809,7 @@ 18 ] ], - "id": 5657, + "id": 5933, "flags": { "isStatic": true }, @@ -2834,7 +2834,7 @@ 12 ] ], - "id": 5659, + "id": 5935, "flags": { "isStatic": true }, @@ -2862,7 +2862,7 @@ 30 ] ], - "id": 5491, + "id": 5767, "flags": { "isStatic": true }, @@ -2880,7 +2880,7 @@ 19 ] ], - "id": 5492, + "id": 5768, "flags": { "isStatic": true }, @@ -2898,7 +2898,7 @@ 23 ] ], - "id": 5493, + "id": 5769, "flags": { "isStatic": true }, @@ -2916,7 +2916,7 @@ 23 ] ], - "id": 5494, + "id": 5770, "flags": { "isStatic": true }, @@ -2934,7 +2934,7 @@ 19 ] ], - "id": 5561, + "id": 5837, "flags": { "isStatic": true }, diff --git a/docs/json/class/Physics_World.json b/docs/json/class/Physics_World.json index ab8cd029..cb5a86a3 100644 --- a/docs/json/class/Physics_World.json +++ b/docs/json/class/Physics_World.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 5155, + "id": 5431, "comment": "A `World` stores and manages [`Body`](#link) and [`Particle`](#link) for 2D physics simulation.\nSee a [Particle demo](../demo/index.html?name=physics.particles) and a [Body demo](../demo/index.html?name=physics.shapes) on the demo page.", "constructor": [ { @@ -20,7 +20,7 @@ 51 ] ], - "id": 5178, + "id": 5454, "flags": {}, "overrides": false, "inherits": false, @@ -64,7 +64,7 @@ 15 ] ], - "id": 5195, + "id": 5471, "flags": {}, "overrides": false, "inherits": false, @@ -88,7 +88,7 @@ 13 ] ], - "id": 5191, + "id": 5467, "flags": {}, "overrides": false, "inherits": false, @@ -120,7 +120,7 @@ 14 ] ], - "id": 5187, + "id": 5463, "flags": {}, "overrides": false, "inherits": false, @@ -152,7 +152,7 @@ 13 ] ], - "id": 5183, + "id": 5459, "flags": {}, "overrides": false, "inherits": false, @@ -179,7 +179,7 @@ 19 ] ], - "id": 5197, + "id": 5473, "flags": {}, "overrides": false, "inherits": false, @@ -200,7 +200,7 @@ 5 ] ], - "id": 5222, + "id": 5498, "flags": {}, "overrides": false, "inherits": false, @@ -236,7 +236,7 @@ 6 ] ], - "id": 5199, + "id": 5475, "flags": {}, "overrides": false, "inherits": false, @@ -266,7 +266,7 @@ 12 ] ], - "id": 5215, + "id": 5491, "flags": {}, "overrides": false, "inherits": false, @@ -296,7 +296,7 @@ 15 ] ], - "id": 5208, + "id": 5484, "flags": {}, "overrides": false, "inherits": false, @@ -326,7 +326,7 @@ 21 ] ], - "id": 5243, + "id": 5519, "flags": { "isProtected": true }, @@ -370,7 +370,7 @@ 10 ] ], - "id": 5202, + "id": 5478, "flags": {}, "overrides": false, "inherits": false, @@ -400,7 +400,7 @@ 8 ] ], - "id": 5226, + "id": 5502, "flags": {}, "overrides": false, "inherits": false, @@ -442,7 +442,7 @@ 8 ] ], - "id": 5205, + "id": 5481, "flags": {}, "overrides": false, "inherits": false, @@ -472,7 +472,7 @@ 24 ] ], - "id": 5238, + "id": 5514, "flags": { "isStatic": true }, @@ -516,7 +516,7 @@ 23 ] ], - "id": 5231, + "id": 5507, "flags": { "isStatic": true }, diff --git a/docs/json/class/Pt_Bound.json b/docs/json/class/Pt_Bound.json index c5d048b2..b292806f 100644 --- a/docs/json/class/Pt_Bound.json +++ b/docs/json/class/Pt_Bound.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 2114, + "id": 2390, "comment": "Bound is a subclass of [`Group`](#link) that represents a rectangular boundary.\nIt includes some convenient accessors (eg, bottomRight, center) for bounding box calculations.", "constructor": [ { @@ -20,7 +20,7 @@ 28 ] ], - "id": 2120, + "id": 2396, "flags": {}, "overrides": "Group.__constructor", "inherits": false, @@ -62,7 +62,7 @@ 17 ] ], - "id": 2155, + "id": 2431, "flags": {}, "overrides": false, "inherits": false, @@ -94,7 +94,7 @@ 12 ] ], - "id": 2147, + "id": 2423, "flags": {}, "overrides": false, "inherits": false, @@ -126,7 +126,7 @@ 11 ] ], - "id": 2167, + "id": 2443, "flags": {}, "overrides": false, "inherits": false, @@ -158,7 +158,7 @@ 12 ] ], - "id": 2163, + "id": 2439, "flags": {}, "overrides": false, "inherits": false, @@ -190,7 +190,7 @@ 8 ] ], - "id": 2182, + "id": 2458, "flags": {}, "overrides": false, "inherits": "Group.id", @@ -217,7 +217,7 @@ 12 ] ], - "id": 2177, + "id": 2453, "flags": {}, "overrides": false, "inherits": false, @@ -236,7 +236,7 @@ 8 ] ], - "id": 2186, + "id": 2462, "flags": {}, "overrides": false, "inherits": "Group.p1", @@ -255,7 +255,7 @@ 8 ] ], - "id": 2188, + "id": 2464, "flags": {}, "overrides": false, "inherits": "Group.p2", @@ -274,7 +274,7 @@ 8 ] ], - "id": 2190, + "id": 2466, "flags": {}, "overrides": false, "inherits": "Group.p3", @@ -293,7 +293,7 @@ 8 ] ], - "id": 2192, + "id": 2468, "flags": {}, "overrides": false, "inherits": "Group.p4", @@ -312,7 +312,7 @@ 8 ] ], - "id": 2194, + "id": 2470, "flags": {}, "overrides": false, "inherits": "Group.q1", @@ -331,7 +331,7 @@ 8 ] ], - "id": 2196, + "id": 2472, "flags": {}, "overrides": false, "inherits": "Group.q2", @@ -350,7 +350,7 @@ 8 ] ], - "id": 2198, + "id": 2474, "flags": {}, "overrides": false, "inherits": "Group.q3", @@ -369,7 +369,7 @@ 8 ] ], - "id": 2200, + "id": 2476, "flags": {}, "overrides": false, "inherits": "Group.q4", @@ -393,7 +393,7 @@ 10 ] ], - "id": 2143, + "id": 2419, "flags": {}, "overrides": false, "inherits": false, @@ -425,7 +425,7 @@ 13 ] ], - "id": 2151, + "id": 2427, "flags": {}, "overrides": false, "inherits": false, @@ -457,7 +457,7 @@ 11 ] ], - "id": 2159, + "id": 2435, "flags": {}, "overrides": false, "inherits": false, @@ -484,7 +484,7 @@ 7 ] ], - "id": 2171, + "id": 2447, "flags": {}, "overrides": false, "inherits": false, @@ -503,7 +503,7 @@ 7 ] ], - "id": 2173, + "id": 2449, "flags": {}, "overrides": false, "inherits": false, @@ -522,7 +522,7 @@ 7 ] ], - "id": 2175, + "id": 2451, "flags": {}, "overrides": false, "inherits": false, @@ -543,7 +543,7 @@ 12 ] ], - "id": 2305, + "id": 2581, "flags": {}, "overrides": false, "inherits": "Group.$matrixAdd", @@ -573,7 +573,7 @@ 17 ] ], - "id": 2308, + "id": 2584, "flags": {}, "overrides": false, "inherits": "Group.$matrixMultiply", @@ -615,7 +615,7 @@ 6 ] ], - "id": 2317, + "id": 2593, "flags": {}, "overrides": false, "inherits": "Group.$zip", @@ -651,7 +651,7 @@ 5 ] ], - "id": 2293, + "id": 2569, "flags": {}, "overrides": false, "inherits": "Group.add", @@ -681,7 +681,7 @@ 12 ] ], - "id": 2235, + "id": 2511, "flags": {}, "overrides": false, "inherits": "Group.anchorFrom", @@ -711,7 +711,7 @@ 10 ] ], - "id": 2232, + "id": 2508, "flags": {}, "overrides": false, "inherits": "Group.anchorTo", @@ -741,7 +741,7 @@ 13 ] ], - "id": 2230, + "id": 2506, "flags": {}, "overrides": false, "inherits": "Group.boundingBox", @@ -764,7 +764,7 @@ 10 ] ], - "id": 2228, + "id": 2504, "flags": {}, "overrides": false, "inherits": "Group.centroid", @@ -787,7 +787,7 @@ 7 ] ], - "id": 2131, + "id": 2407, "flags": {}, "overrides": "Group.clone", "inherits": false, @@ -810,7 +810,7 @@ 8 ] ], - "id": 2302, + "id": 2578, "flags": {}, "overrides": false, "inherits": "Group.divide", @@ -840,7 +840,7 @@ 11 ] ], - "id": 2289, + "id": 2565, "flags": {}, "overrides": false, "inherits": "Group.forEachPt", @@ -876,7 +876,7 @@ 16 ] ], - "id": 2129, + "id": 2405, "flags": { "isProtected": true }, @@ -901,7 +901,7 @@ 8 ] ], - "id": 2213, + "id": 2489, "flags": {}, "overrides": false, "inherits": "Group.insert", @@ -937,7 +937,7 @@ 13 ] ], - "id": 2258, + "id": 2534, "flags": {}, "overrides": false, "inherits": "Group.interpolate", @@ -967,7 +967,7 @@ 7 ] ], - "id": 2226, + "id": 2502, "flags": {}, "overrides": false, "inherits": "Group.lines", @@ -990,7 +990,7 @@ 8 ] ], - "id": 2261, + "id": 2537, "flags": {}, "overrides": false, "inherits": "Group.moveBy", @@ -1020,7 +1020,7 @@ 8 ] ], - "id": 2264, + "id": 2540, "flags": {}, "overrides": false, "inherits": "Group.moveTo", @@ -1050,7 +1050,7 @@ 10 ] ], - "id": 2299, + "id": 2575, "flags": {}, "overrides": false, "inherits": "Group.multiply", @@ -1080,7 +1080,7 @@ 4 ] ], - "id": 2238, + "id": 2514, "flags": {}, "overrides": false, "inherits": "Group.op", @@ -1115,7 +1115,7 @@ 5 ] ], - "id": 2248, + "id": 2524, "flags": {}, "overrides": false, "inherits": "Group.ops", @@ -1150,7 +1150,7 @@ 11 ] ], - "id": 2281, + "id": 2557, "flags": {}, "overrides": false, "inherits": "Group.reflect2D", @@ -1186,7 +1186,7 @@ 8 ] ], - "id": 2217, + "id": 2493, "flags": {}, "overrides": false, "inherits": "Group.remove", @@ -1222,7 +1222,7 @@ 10 ] ], - "id": 2271, + "id": 2547, "flags": {}, "overrides": false, "inherits": "Group.rotate2D", @@ -1264,7 +1264,7 @@ 7 ] ], - "id": 2267, + "id": 2543, "flags": {}, "overrides": false, "inherits": "Group.scale", @@ -1300,7 +1300,7 @@ 10 ] ], - "id": 2221, + "id": 2497, "flags": {}, "overrides": false, "inherits": "Group.segments", @@ -1342,7 +1342,7 @@ 9 ] ], - "id": 2276, + "id": 2552, "flags": {}, "overrides": false, "inherits": "Group.shear2D", @@ -1384,7 +1384,7 @@ 17 ] ], - "id": 2285, + "id": 2561, "flags": {}, "overrides": false, "inherits": "Group.sortByDimension", @@ -1420,7 +1420,7 @@ 7 ] ], - "id": 2208, + "id": 2484, "flags": {}, "overrides": false, "inherits": "Group.split", @@ -1462,7 +1462,7 @@ 10 ] ], - "id": 2296, + "id": 2572, "flags": {}, "overrides": false, "inherits": "Group.subtract", @@ -1492,7 +1492,7 @@ 10 ] ], - "id": 2321, + "id": 2597, "flags": {}, "overrides": false, "inherits": "Group.toString", @@ -1515,7 +1515,7 @@ 8 ] ], - "id": 2179, + "id": 2455, "flags": {}, "overrides": false, "inherits": false, @@ -1538,7 +1538,7 @@ 10 ] ], - "id": 2313, + "id": 2589, "flags": {}, "overrides": false, "inherits": "Group.zipSlice", @@ -1579,7 +1579,7 @@ 10 ] ], - "id": 2333, + "id": 2609, "flags": { "isStatic": true }, @@ -1625,7 +1625,7 @@ 9 ] ], - "id": 2375, + "id": 2651, "flags": { "isStatic": true }, @@ -1668,7 +1668,7 @@ 10 ] ], - "id": 2412, + "id": 2688, "flags": { "isStatic": true }, @@ -1726,7 +1726,7 @@ 11 ] ], - "id": 2393, + "id": 2669, "flags": { "isStatic": true }, @@ -1764,7 +1764,7 @@ 18 ] ], - "id": 2202, + "id": 2478, "flags": { "isStatic": true }, @@ -1801,7 +1801,7 @@ 25 ] ], - "id": 2123, + "id": 2399, "flags": { "isStatic": true }, @@ -1833,7 +1833,7 @@ 18 ] ], - "id": 2126, + "id": 2402, "flags": { "isStatic": true }, @@ -1865,7 +1865,7 @@ 20 ] ], - "id": 2205, + "id": 2481, "flags": { "isStatic": true }, @@ -1897,7 +1897,7 @@ 11 ] ], - "id": 2367, + "id": 2643, "flags": { "isStatic": true }, @@ -1935,7 +1935,7 @@ 8 ] ], - "id": 2338, + "id": 2614, "flags": { "isStatic": true }, @@ -1967,7 +1967,7 @@ 15 ] ], - "id": 2371, + "id": 2647, "flags": { "isStatic": true }, @@ -2005,7 +2005,7 @@ 7 ] ], - "id": 2402, + "id": 2678, "flags": { "isStatic": true }, @@ -2043,7 +2043,7 @@ 7 ] ], - "id": 2331, + "id": 2607, "flags": { "isStatic": true }, @@ -2068,7 +2068,7 @@ 8 ] ], - "id": 2328, + "id": 2604, "flags": { "isStatic": true }, @@ -2110,7 +2110,7 @@ 10 ] ], - "id": 2430, + "id": 2706, "flags": { "isStatic": true }, @@ -2192,7 +2192,7 @@ 15 ] ], - "id": 2458, + "id": 2734, "flags": { "isStatic": true }, @@ -2264,7 +2264,7 @@ 11 ] ], - "id": 2341, + "id": 2617, "flags": { "isStatic": true }, @@ -2289,7 +2289,7 @@ 9 ] ], - "id": 2343, + "id": 2619, "flags": { "isStatic": true }, @@ -2314,7 +2314,7 @@ 9 ] ], - "id": 2345, + "id": 2621, "flags": { "isStatic": true }, @@ -2352,7 +2352,7 @@ 8 ] ], - "id": 2384, + "id": 2660, "flags": { "isStatic": true }, @@ -2390,7 +2390,7 @@ 8 ] ], - "id": 2349, + "id": 2625, "flags": { "isStatic": true }, @@ -2427,7 +2427,7 @@ 10 ] ], - "id": 2356, + "id": 2632, "flags": { "isStatic": true }, @@ -2491,7 +2491,7 @@ 18 ] ], - "id": 2326, + "id": 2602, "flags": { "isStatic": true }, @@ -2516,7 +2516,7 @@ 12 ] ], - "id": 2324, + "id": 2600, "flags": { "isStatic": true }, @@ -2541,7 +2541,7 @@ 11 ] ], - "id": 2364, + "id": 2640, "flags": { "isStatic": true }, @@ -2576,7 +2576,7 @@ 10 ] ], - "id": 2323, + "id": 2599, "flags": { "isStatic": true }, diff --git a/docs/json/class/Pt_Group.json b/docs/json/class/Pt_Group.json index e67b2b3c..212293de 100644 --- a/docs/json/class/Pt_Group.json +++ b/docs/json/class/Pt_Group.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 1744, + "id": 2020, "comment": "A Group is a subclass of standard javascript [`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array). It should only contain Pt instances. You can think of it as an array of Float32Arrays.\nSee [Group guide](../guide/Group-0300.html) for details.", "constructor": [ { @@ -20,7 +20,7 @@ 23 ] ], - "id": 1746, + "id": 2022, "flags": {}, "overrides": false, "inherits": false, @@ -57,7 +57,7 @@ 8 ] ], - "id": 1749, + "id": 2025, "flags": {}, "overrides": false, "inherits": false, @@ -84,7 +84,7 @@ 8 ] ], - "id": 1753, + "id": 2029, "flags": {}, "overrides": false, "inherits": false, @@ -103,7 +103,7 @@ 8 ] ], - "id": 1755, + "id": 2031, "flags": {}, "overrides": false, "inherits": false, @@ -122,7 +122,7 @@ 8 ] ], - "id": 1757, + "id": 2033, "flags": {}, "overrides": false, "inherits": false, @@ -141,7 +141,7 @@ 8 ] ], - "id": 1759, + "id": 2035, "flags": {}, "overrides": false, "inherits": false, @@ -160,7 +160,7 @@ 8 ] ], - "id": 1761, + "id": 2037, "flags": {}, "overrides": false, "inherits": false, @@ -179,7 +179,7 @@ 8 ] ], - "id": 1763, + "id": 2039, "flags": {}, "overrides": false, "inherits": false, @@ -198,7 +198,7 @@ 8 ] ], - "id": 1765, + "id": 2041, "flags": {}, "overrides": false, "inherits": false, @@ -217,7 +217,7 @@ 8 ] ], - "id": 1767, + "id": 2043, "flags": {}, "overrides": false, "inherits": false, @@ -238,7 +238,7 @@ 12 ] ], - "id": 1874, + "id": 2150, "flags": {}, "overrides": false, "inherits": false, @@ -268,7 +268,7 @@ 17 ] ], - "id": 1877, + "id": 2153, "flags": {}, "overrides": false, "inherits": false, @@ -310,7 +310,7 @@ 6 ] ], - "id": 1886, + "id": 2162, "flags": {}, "overrides": false, "inherits": false, @@ -346,7 +346,7 @@ 5 ] ], - "id": 1862, + "id": 2138, "flags": {}, "overrides": false, "inherits": false, @@ -376,7 +376,7 @@ 12 ] ], - "id": 1804, + "id": 2080, "flags": {}, "overrides": false, "inherits": false, @@ -406,7 +406,7 @@ 10 ] ], - "id": 1801, + "id": 2077, "flags": {}, "overrides": false, "inherits": false, @@ -436,7 +436,7 @@ 13 ] ], - "id": 1799, + "id": 2075, "flags": {}, "overrides": false, "inherits": false, @@ -459,7 +459,7 @@ 10 ] ], - "id": 1797, + "id": 2073, "flags": {}, "overrides": false, "inherits": false, @@ -482,7 +482,7 @@ 7 ] ], - "id": 1769, + "id": 2045, "flags": {}, "overrides": false, "inherits": false, @@ -505,7 +505,7 @@ 8 ] ], - "id": 1871, + "id": 2147, "flags": {}, "overrides": false, "inherits": false, @@ -535,7 +535,7 @@ 11 ] ], - "id": 1858, + "id": 2134, "flags": {}, "overrides": false, "inherits": false, @@ -571,7 +571,7 @@ 8 ] ], - "id": 1782, + "id": 2058, "flags": {}, "overrides": false, "inherits": false, @@ -607,7 +607,7 @@ 13 ] ], - "id": 1827, + "id": 2103, "flags": {}, "overrides": false, "inherits": false, @@ -637,7 +637,7 @@ 7 ] ], - "id": 1795, + "id": 2071, "flags": {}, "overrides": false, "inherits": false, @@ -660,7 +660,7 @@ 8 ] ], - "id": 1830, + "id": 2106, "flags": {}, "overrides": false, "inherits": false, @@ -690,7 +690,7 @@ 8 ] ], - "id": 1833, + "id": 2109, "flags": {}, "overrides": false, "inherits": false, @@ -720,7 +720,7 @@ 10 ] ], - "id": 1868, + "id": 2144, "flags": {}, "overrides": false, "inherits": false, @@ -750,7 +750,7 @@ 4 ] ], - "id": 1807, + "id": 2083, "flags": {}, "overrides": false, "inherits": false, @@ -785,7 +785,7 @@ 5 ] ], - "id": 1817, + "id": 2093, "flags": {}, "overrides": false, "inherits": false, @@ -820,7 +820,7 @@ 11 ] ], - "id": 1850, + "id": 2126, "flags": {}, "overrides": false, "inherits": false, @@ -856,7 +856,7 @@ 8 ] ], - "id": 1786, + "id": 2062, "flags": {}, "overrides": false, "inherits": false, @@ -892,7 +892,7 @@ 10 ] ], - "id": 1840, + "id": 2116, "flags": {}, "overrides": false, "inherits": false, @@ -934,7 +934,7 @@ 7 ] ], - "id": 1836, + "id": 2112, "flags": {}, "overrides": false, "inherits": false, @@ -970,7 +970,7 @@ 10 ] ], - "id": 1790, + "id": 2066, "flags": {}, "overrides": false, "inherits": false, @@ -1012,7 +1012,7 @@ 9 ] ], - "id": 1845, + "id": 2121, "flags": {}, "overrides": false, "inherits": false, @@ -1054,7 +1054,7 @@ 17 ] ], - "id": 1854, + "id": 2130, "flags": {}, "overrides": false, "inherits": false, @@ -1090,7 +1090,7 @@ 7 ] ], - "id": 1777, + "id": 2053, "flags": {}, "overrides": false, "inherits": false, @@ -1132,7 +1132,7 @@ 10 ] ], - "id": 1865, + "id": 2141, "flags": {}, "overrides": false, "inherits": false, @@ -1162,7 +1162,7 @@ 10 ] ], - "id": 1890, + "id": 2166, "flags": {}, "overrides": false, "inherits": false, @@ -1185,7 +1185,7 @@ 10 ] ], - "id": 1882, + "id": 2158, "flags": {}, "overrides": false, "inherits": false, @@ -1226,7 +1226,7 @@ 10 ] ], - "id": 1902, + "id": 2178, "flags": { "isStatic": true }, @@ -1272,7 +1272,7 @@ 14 ] ], - "id": 2091, + "id": 2367, "flags": { "isStatic": true }, @@ -1316,7 +1316,7 @@ 11 ] ], - "id": 2098, + "id": 2374, "flags": { "isStatic": true }, @@ -1341,7 +1341,7 @@ 9 ] ], - "id": 1944, + "id": 2220, "flags": { "isStatic": true }, @@ -1379,7 +1379,7 @@ 8 ] ], - "id": 2086, + "id": 2362, "flags": { "isStatic": true }, @@ -1428,7 +1428,7 @@ 10 ] ], - "id": 1981, + "id": 2257, "flags": { "isStatic": true }, @@ -1491,7 +1491,7 @@ 8 ] ], - "id": 2058, + "id": 2334, "flags": { "isStatic": true }, @@ -1549,7 +1549,7 @@ 13 ] ], - "id": 2077, + "id": 2353, "flags": { "isStatic": true }, @@ -1587,7 +1587,7 @@ 11 ] ], - "id": 1962, + "id": 2238, "flags": { "isStatic": true }, @@ -1625,7 +1625,7 @@ 18 ] ], - "id": 1771, + "id": 2047, "flags": { "isStatic": true }, @@ -1662,7 +1662,7 @@ 20 ] ], - "id": 1774, + "id": 2050, "flags": { "isStatic": true }, @@ -1694,7 +1694,7 @@ 11 ] ], - "id": 1936, + "id": 2212, "flags": { "isStatic": true }, @@ -1732,7 +1732,7 @@ 8 ] ], - "id": 1907, + "id": 2183, "flags": { "isStatic": true }, @@ -1764,7 +1764,7 @@ 8 ] ], - "id": 2100, + "id": 2376, "flags": { "isStatic": true }, @@ -1789,7 +1789,7 @@ 15 ] ], - "id": 1940, + "id": 2216, "flags": { "isStatic": true }, @@ -1827,7 +1827,7 @@ 7 ] ], - "id": 1971, + "id": 2247, "flags": { "isStatic": true }, @@ -1865,7 +1865,7 @@ 7 ] ], - "id": 1900, + "id": 2176, "flags": { "isStatic": true }, @@ -1890,7 +1890,7 @@ 8 ] ], - "id": 1897, + "id": 2173, "flags": { "isStatic": true }, @@ -1932,7 +1932,7 @@ 10 ] ], - "id": 1999, + "id": 2275, "flags": { "isStatic": true }, @@ -2014,7 +2014,7 @@ 15 ] ], - "id": 2027, + "id": 2303, "flags": { "isStatic": true }, @@ -2086,7 +2086,7 @@ 11 ] ], - "id": 1910, + "id": 2186, "flags": { "isStatic": true }, @@ -2111,7 +2111,7 @@ 9 ] ], - "id": 1912, + "id": 2188, "flags": { "isStatic": true }, @@ -2136,7 +2136,7 @@ 9 ] ], - "id": 1914, + "id": 2190, "flags": { "isStatic": true }, @@ -2174,7 +2174,7 @@ 8 ] ], - "id": 1953, + "id": 2229, "flags": { "isStatic": true }, @@ -2212,7 +2212,7 @@ 8 ] ], - "id": 1918, + "id": 2194, "flags": { "isStatic": true }, @@ -2249,7 +2249,7 @@ 10 ] ], - "id": 1925, + "id": 2201, "flags": { "isStatic": true }, @@ -2313,7 +2313,7 @@ 18 ] ], - "id": 1895, + "id": 2171, "flags": { "isStatic": true }, @@ -2338,7 +2338,7 @@ 12 ] ], - "id": 1893, + "id": 2169, "flags": { "isStatic": true }, @@ -2363,7 +2363,7 @@ 11 ] ], - "id": 1933, + "id": 2209, "flags": { "isStatic": true }, @@ -2395,7 +2395,7 @@ 10 ] ], - "id": 2102, + "id": 2378, "flags": { "isStatic": true }, @@ -2423,7 +2423,7 @@ 19 ] ], - "id": 2057, + "id": 2333, "flags": { "isStatic": true }, @@ -2441,7 +2441,7 @@ 10 ] ], - "id": 1892, + "id": 2168, "flags": { "isStatic": true }, diff --git a/docs/json/class/Pt_Pt.json b/docs/json/class/Pt_Pt.json index 1cfcd859..5be9ba8c 100644 --- a/docs/json/class/Pt_Pt.json +++ b/docs/json/class/Pt_Pt.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 1379, + "id": 1655, "comment": "Pt is a subclass of standard [`Float32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array) with additional properties and functions to support vector and geometric calculations.\nSee [Pt guide](../guide/Pt-0200.html) for details.", "constructor": [ { @@ -20,7 +20,7 @@ 23 ] ], - "id": 1381, + "id": 1657, "flags": {}, "overrides": false, "inherits": false, @@ -62,7 +62,7 @@ 8 ] ], - "id": 1389, + "id": 1665, "flags": {}, "overrides": false, "inherits": false, @@ -94,7 +94,7 @@ 7 ] ], - "id": 1405, + "id": 1681, "flags": {}, "overrides": false, "inherits": false, @@ -126,7 +126,7 @@ 7 ] ], - "id": 1393, + "id": 1669, "flags": {}, "overrides": false, "inherits": false, @@ -158,7 +158,7 @@ 7 ] ], - "id": 1397, + "id": 1673, "flags": {}, "overrides": false, "inherits": false, @@ -190,7 +190,7 @@ 7 ] ], - "id": 1401, + "id": 1677, "flags": {}, "overrides": false, "inherits": false, @@ -219,7 +219,7 @@ 6 ] ], - "id": 1503, + "id": 1779, "flags": {}, "overrides": false, "inherits": false, @@ -242,7 +242,7 @@ 6 ] ], - "id": 1455, + "id": 1731, "flags": {}, "overrides": false, "inherits": false, @@ -272,7 +272,7 @@ 7 ] ], - "id": 1511, + "id": 1787, "flags": {}, "overrides": false, "inherits": false, @@ -295,7 +295,7 @@ 9 ] ], - "id": 1449, + "id": 1725, "flags": {}, "overrides": false, "inherits": false, @@ -325,7 +325,7 @@ 8 ] ], - "id": 1492, + "id": 1768, "flags": {}, "overrides": false, "inherits": false, @@ -355,7 +355,7 @@ 10 ] ], - "id": 1489, + "id": 1765, "flags": {}, "overrides": false, "inherits": false, @@ -385,7 +385,7 @@ 9 ] ], - "id": 1473, + "id": 1749, "flags": {}, "overrides": false, "inherits": false, @@ -415,7 +415,7 @@ 8 ] ], - "id": 1507, + "id": 1783, "flags": {}, "overrides": false, "inherits": false, @@ -438,7 +438,7 @@ 6 ] ], - "id": 1530, + "id": 1806, "flags": {}, "overrides": false, "inherits": false, @@ -468,7 +468,7 @@ 6 ] ], - "id": 1527, + "id": 1803, "flags": {}, "overrides": false, "inherits": false, @@ -498,7 +498,7 @@ 11 ] ], - "id": 1467, + "id": 1743, "flags": {}, "overrides": false, "inherits": false, @@ -528,7 +528,7 @@ 10 ] ], - "id": 1495, + "id": 1771, "flags": {}, "overrides": false, "inherits": false, @@ -558,7 +558,7 @@ 8 ] ], - "id": 1515, + "id": 1791, "flags": {}, "overrides": false, "inherits": false, @@ -581,7 +581,7 @@ 11 ] ], - "id": 1461, + "id": 1737, "flags": {}, "overrides": false, "inherits": false, @@ -611,7 +611,7 @@ 7 ] ], - "id": 1446, + "id": 1722, "flags": {}, "overrides": false, "inherits": false, @@ -641,7 +641,7 @@ 5 ] ], - "id": 1418, + "id": 1694, "flags": {}, "overrides": false, "inherits": false, @@ -671,7 +671,7 @@ 7 ] ], - "id": 1483, + "id": 1759, "flags": {}, "overrides": false, "inherits": false, @@ -701,7 +701,7 @@ 5 ] ], - "id": 1501, + "id": 1777, "flags": {}, "overrides": false, "inherits": false, @@ -724,7 +724,7 @@ 5 ] ], - "id": 1452, + "id": 1728, "flags": {}, "overrides": false, "inherits": false, @@ -754,7 +754,7 @@ 7 ] ], - "id": 1533, + "id": 1809, "flags": {}, "overrides": false, "inherits": false, @@ -784,7 +784,7 @@ 14 ] ], - "id": 1536, + "id": 1812, "flags": {}, "overrides": false, "inherits": false, @@ -820,7 +820,7 @@ 6 ] ], - "id": 1509, + "id": 1785, "flags": {}, "overrides": false, "inherits": false, @@ -843,7 +843,7 @@ 7 ] ], - "id": 1409, + "id": 1685, "flags": {}, "overrides": false, "inherits": false, @@ -866,7 +866,7 @@ 8 ] ], - "id": 1470, + "id": 1746, "flags": {}, "overrides": false, "inherits": false, @@ -896,7 +896,7 @@ 5 ] ], - "id": 1486, + "id": 1762, "flags": {}, "overrides": false, "inherits": false, @@ -926,7 +926,7 @@ 8 ] ], - "id": 1411, + "id": 1687, "flags": {}, "overrides": false, "inherits": false, @@ -962,7 +962,7 @@ 7 ] ], - "id": 1505, + "id": 1781, "flags": {}, "overrides": false, "inherits": false, @@ -985,7 +985,7 @@ 11 ] ], - "id": 1478, + "id": 1754, "flags": {}, "overrides": false, "inherits": false, @@ -1008,7 +1008,7 @@ 13 ] ], - "id": 1476, + "id": 1752, "flags": {}, "overrides": false, "inherits": false, @@ -1031,7 +1031,7 @@ 10 ] ], - "id": 1522, + "id": 1798, "flags": {}, "overrides": false, "inherits": false, @@ -1054,7 +1054,7 @@ 10 ] ], - "id": 1517, + "id": 1793, "flags": {}, "overrides": false, "inherits": false, @@ -1077,7 +1077,7 @@ 10 ] ], - "id": 1464, + "id": 1740, "flags": {}, "overrides": false, "inherits": false, @@ -1107,7 +1107,7 @@ 4 ] ], - "id": 1426, + "id": 1702, "flags": {}, "overrides": false, "inherits": false, @@ -1142,7 +1142,7 @@ 5 ] ], - "id": 1436, + "id": 1712, "flags": {}, "overrides": false, "inherits": false, @@ -1177,7 +1177,7 @@ 15 ] ], - "id": 1498, + "id": 1774, "flags": {}, "overrides": false, "inherits": false, @@ -1207,7 +1207,7 @@ 11 ] ], - "id": 1554, + "id": 1830, "flags": {}, "overrides": false, "inherits": false, @@ -1243,7 +1243,7 @@ 10 ] ], - "id": 1544, + "id": 1820, "flags": {}, "overrides": false, "inherits": false, @@ -1285,7 +1285,7 @@ 7 ] ], - "id": 1513, + "id": 1789, "flags": {}, "overrides": false, "inherits": false, @@ -1308,7 +1308,7 @@ 7 ] ], - "id": 1540, + "id": 1816, "flags": {}, "overrides": false, "inherits": false, @@ -1344,7 +1344,7 @@ 9 ] ], - "id": 1549, + "id": 1825, "flags": {}, "overrides": false, "inherits": false, @@ -1386,7 +1386,7 @@ 10 ] ], - "id": 1458, + "id": 1734, "flags": {}, "overrides": false, "inherits": false, @@ -1416,7 +1416,7 @@ 4 ] ], - "id": 1415, + "id": 1691, "flags": {}, "overrides": false, "inherits": false, @@ -1446,7 +1446,7 @@ 9 ] ], - "id": 1421, + "id": 1697, "flags": {}, "overrides": false, "inherits": false, @@ -1488,7 +1488,7 @@ 9 ] ], - "id": 1560, + "id": 1836, "flags": {}, "overrides": false, "inherits": false, @@ -1511,7 +1511,7 @@ 10 ] ], - "id": 1558, + "id": 1834, "flags": {}, "overrides": false, "inherits": false, @@ -1534,7 +1534,7 @@ 6 ] ], - "id": 1480, + "id": 1756, "flags": {}, "overrides": false, "inherits": false, @@ -1564,7 +1564,7 @@ 14 ] ], - "id": 1566, + "id": 1842, "flags": { "isStatic": true }, @@ -1608,7 +1608,7 @@ 11 ] ], - "id": 1737, + "id": 2013, "flags": { "isStatic": true }, @@ -1633,7 +1633,7 @@ 9 ] ], - "id": 1571, + "id": 1847, "flags": { "isStatic": true }, @@ -1671,7 +1671,7 @@ 8 ] ], - "id": 1580, + "id": 1856, "flags": { "isStatic": true }, @@ -1715,7 +1715,7 @@ 10 ] ], - "id": 1585, + "id": 1861, "flags": { "isStatic": true }, @@ -1753,7 +1753,7 @@ 8 ] ], - "id": 1594, + "id": 1870, "flags": { "isStatic": true }, @@ -1791,7 +1791,7 @@ 13 ] ], - "id": 1603, + "id": 1879, "flags": { "isStatic": true }, @@ -1829,7 +1829,7 @@ 11 ] ], - "id": 1612, + "id": 1888, "flags": { "isStatic": true }, @@ -1867,7 +1867,7 @@ 11 ] ], - "id": 1621, + "id": 1897, "flags": { "isStatic": true }, @@ -1905,7 +1905,7 @@ 8 ] ], - "id": 1625, + "id": 1901, "flags": { "isStatic": true }, @@ -1937,7 +1937,7 @@ 8 ] ], - "id": 1739, + "id": 2015, "flags": { "isStatic": true }, @@ -1962,7 +1962,7 @@ 15 ] ], - "id": 1628, + "id": 1904, "flags": { "isStatic": true }, @@ -2000,7 +2000,7 @@ 13 ] ], - "id": 1384, + "id": 1660, "flags": { "isStatic": true }, @@ -2044,7 +2044,7 @@ 7 ] ], - "id": 1633, + "id": 1909, "flags": { "isStatic": true }, @@ -2092,7 +2092,7 @@ 10 ] ], - "id": 1642, + "id": 1918, "flags": { "isStatic": true }, @@ -2174,7 +2174,7 @@ 15 ] ], - "id": 1670, + "id": 1946, "flags": { "isStatic": true }, @@ -2246,7 +2246,7 @@ 11 ] ], - "id": 1698, + "id": 1974, "flags": { "isStatic": true }, @@ -2271,7 +2271,7 @@ 7 ] ], - "id": 1700, + "id": 1976, "flags": { "isStatic": true }, @@ -2309,7 +2309,7 @@ 9 ] ], - "id": 1704, + "id": 1980, "flags": { "isStatic": true }, @@ -2347,7 +2347,7 @@ 8 ] ], - "id": 1708, + "id": 1984, "flags": { "isStatic": true }, @@ -2385,7 +2385,7 @@ 8 ] ], - "id": 1717, + "id": 1993, "flags": { "isStatic": true }, @@ -2417,7 +2417,7 @@ 12 ] ], - "id": 1724, + "id": 2000, "flags": { "isStatic": true }, @@ -2455,7 +2455,7 @@ 18 ] ], - "id": 1728, + "id": 2004, "flags": { "isStatic": true }, @@ -2480,7 +2480,7 @@ 12 ] ], - "id": 1730, + "id": 2006, "flags": { "isStatic": true }, @@ -2505,7 +2505,7 @@ 10 ] ], - "id": 1741, + "id": 2017, "flags": { "isStatic": true }, @@ -2533,7 +2533,7 @@ 30 ] ], - "id": 1562, + "id": 1838, "flags": { "isStatic": true }, @@ -2551,7 +2551,7 @@ 26 ] ], - "id": 1734, + "id": 2010, "flags": { "isStatic": true }, @@ -2569,7 +2569,7 @@ 19 ] ], - "id": 1563, + "id": 1839, "flags": { "isStatic": true }, @@ -2587,7 +2587,7 @@ 23 ] ], - "id": 1564, + "id": 1840, "flags": { "isStatic": true }, @@ -2605,7 +2605,7 @@ 23 ] ], - "id": 1565, + "id": 1841, "flags": { "isStatic": true }, @@ -2623,7 +2623,7 @@ 19 ] ], - "id": 1632, + "id": 1908, "flags": { "isStatic": true }, diff --git a/docs/json/class/Space_MultiTouchSpace.json b/docs/json/class/Space_MultiTouchSpace.json index aeafc1c8..144508a6 100644 --- a/docs/json/class/Space_MultiTouchSpace.json +++ b/docs/json/class/Space_MultiTouchSpace.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 2706, + "id": 2982, "comment": "MultiTouchSpace is an abstract class that extends [`Space`](#link) to support user interactions via touch events.\nIt's extended through subclasses such as [`CanvasSpace`](#link) and [`SVGSpace`](#link).", "constructor": [], "accessors": [ @@ -21,7 +21,7 @@ 12 ] ], - "id": 2819, + "id": 3095, "flags": {}, "overrides": false, "inherits": "Space.center", @@ -45,7 +45,7 @@ 21 ] ], - "id": 2799, + "id": 3075, "flags": {}, "overrides": false, "inherits": "Space.customRendering", @@ -72,7 +72,7 @@ 12 ] ], - "id": 2823, + "id": 3099, "flags": {}, "overrides": false, "inherits": "Space.height", @@ -91,7 +91,7 @@ 23 ] ], - "id": 2815, + "id": 3091, "flags": { "isPublic": true }, @@ -112,7 +112,7 @@ 15 ] ], - "id": 2811, + "id": 3087, "flags": {}, "overrides": false, "inherits": "Space.isPlaying", @@ -131,7 +131,7 @@ 16 ] ], - "id": 2813, + "id": 3089, "flags": {}, "overrides": false, "inherits": "Space.outerBound", @@ -150,7 +150,7 @@ 20 ] ], - "id": 2712, + "id": 2988, "flags": { "isPublic": true }, @@ -171,7 +171,7 @@ 10 ] ], - "id": 2817, + "id": 3093, "flags": {}, "overrides": false, "inherits": "Space.size", @@ -190,7 +190,7 @@ 11 ] ], - "id": 2821, + "id": 3097, "flags": {}, "overrides": false, "inherits": "Space.width", @@ -211,7 +211,7 @@ 5 ] ], - "id": 2769, + "id": 3045, "flags": {}, "overrides": false, "inherits": "Space.add", @@ -241,7 +241,7 @@ 12 ] ], - "id": 2714, + "id": 2990, "flags": {}, "overrides": false, "inherits": false, @@ -277,7 +277,7 @@ 11 ] ], - "id": 2722, + "id": 2998, "flags": {}, "overrides": false, "inherits": false, @@ -312,7 +312,7 @@ 11 ] ], - "id": 2725, + "id": 3001, "flags": {}, "overrides": false, "inherits": false, @@ -347,7 +347,7 @@ 16 ] ], - "id": 2829, + "id": 3105, "flags": { "isAbstract": true }, @@ -372,7 +372,7 @@ 18 ] ], - "id": 2831, + "id": 3107, "flags": { "isAbstract": true }, @@ -397,7 +397,7 @@ 7 ] ], - "id": 2785, + "id": 3061, "flags": {}, "overrides": false, "inherits": "Space.pause", @@ -427,7 +427,7 @@ 6 ] ], - "id": 2777, + "id": 3053, "flags": {}, "overrides": false, "inherits": "Space.play", @@ -457,7 +457,7 @@ 21 ] ], - "id": 2782, + "id": 3058, "flags": { "isProtected": true }, @@ -489,7 +489,7 @@ 10 ] ], - "id": 2793, + "id": 3069, "flags": {}, "overrides": false, "inherits": "Space.playOnce", @@ -519,7 +519,7 @@ 9 ] ], - "id": 2766, + "id": 3042, "flags": {}, "overrides": false, "inherits": "Space.refresh", @@ -549,7 +549,7 @@ 8 ] ], - "id": 2772, + "id": 3048, "flags": {}, "overrides": false, "inherits": "Space.remove", @@ -579,7 +579,7 @@ 11 ] ], - "id": 2775, + "id": 3051, "flags": {}, "overrides": false, "inherits": "Space.removeAll", @@ -602,7 +602,7 @@ 18 ] ], - "id": 2796, + "id": 3072, "flags": { "isProtected": true }, @@ -634,7 +634,7 @@ 8 ] ], - "id": 2780, + "id": 3056, "flags": {}, "overrides": false, "inherits": "Space.replay", @@ -657,7 +657,7 @@ 17 ] ], - "id": 2825, + "id": 3101, "flags": { "isAbstract": true }, @@ -695,7 +695,7 @@ 8 ] ], - "id": 2788, + "id": 3064, "flags": {}, "overrides": false, "inherits": "Space.resume", @@ -718,7 +718,7 @@ 6 ] ], - "id": 2790, + "id": 3066, "flags": {}, "overrides": false, "inherits": "Space.stop", @@ -748,7 +748,7 @@ 17 ] ], - "id": 2728, + "id": 3004, "flags": {}, "overrides": false, "inherits": false, @@ -784,7 +784,7 @@ 14 ] ], - "id": 2718, + "id": 2994, "flags": {}, "overrides": false, "inherits": false, @@ -823,7 +823,7 @@ 17 ] ], - "id": 2755, + "id": 3031, "flags": { "isProtected": true }, @@ -841,7 +841,7 @@ 4 ] ], - "id": 2754, + "id": 3030, "flags": {}, "type": "id", "overrides": false, @@ -857,7 +857,7 @@ 23 ] ], - "id": 2761, + "id": 3037, "flags": { "isProtected": true }, @@ -875,7 +875,7 @@ 19 ] ], - "id": 2760, + "id": 3036, "flags": { "isProtected": true }, diff --git a/docs/json/class/Space_Space.json b/docs/json/class/Space_Space.json index 354a1ba0..9fa7f656 100644 --- a/docs/json/class/Space_Space.json +++ b/docs/json/class/Space_Space.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 2618, + "id": 2894, "comment": "Space is an abstract class that represents a general context for expressing Pts. It's extended through subclasses such as [`CanvasSpace`](#link) and [`SVGSpace`](#link). You can also create your own extension of Space.\nSee [Space guide](../guide/Space-0500.html) for details.", "constructor": [], "accessors": [ @@ -21,7 +21,7 @@ 12 ] ], - "id": 2692, + "id": 2968, "flags": {}, "overrides": false, "inherits": false, @@ -45,7 +45,7 @@ 21 ] ], - "id": 2672, + "id": 2948, "flags": {}, "overrides": false, "inherits": false, @@ -72,7 +72,7 @@ 12 ] ], - "id": 2696, + "id": 2972, "flags": {}, "overrides": false, "inherits": false, @@ -91,7 +91,7 @@ 23 ] ], - "id": 2688, + "id": 2964, "flags": { "isPublic": true }, @@ -112,7 +112,7 @@ 15 ] ], - "id": 2684, + "id": 2960, "flags": {}, "overrides": false, "inherits": false, @@ -131,7 +131,7 @@ 16 ] ], - "id": 2686, + "id": 2962, "flags": {}, "overrides": false, "inherits": false, @@ -150,7 +150,7 @@ 10 ] ], - "id": 2690, + "id": 2966, "flags": {}, "overrides": false, "inherits": false, @@ -169,7 +169,7 @@ 11 ] ], - "id": 2694, + "id": 2970, "flags": {}, "overrides": false, "inherits": false, @@ -190,7 +190,7 @@ 5 ] ], - "id": 2642, + "id": 2918, "flags": {}, "overrides": false, "inherits": false, @@ -220,7 +220,7 @@ 16 ] ], - "id": 2702, + "id": 2978, "flags": { "isAbstract": true }, @@ -245,7 +245,7 @@ 18 ] ], - "id": 2704, + "id": 2980, "flags": { "isAbstract": true }, @@ -270,7 +270,7 @@ 7 ] ], - "id": 2658, + "id": 2934, "flags": {}, "overrides": false, "inherits": false, @@ -300,7 +300,7 @@ 6 ] ], - "id": 2650, + "id": 2926, "flags": {}, "overrides": false, "inherits": false, @@ -330,7 +330,7 @@ 21 ] ], - "id": 2655, + "id": 2931, "flags": { "isProtected": true }, @@ -362,7 +362,7 @@ 10 ] ], - "id": 2666, + "id": 2942, "flags": {}, "overrides": false, "inherits": false, @@ -392,7 +392,7 @@ 9 ] ], - "id": 2639, + "id": 2915, "flags": {}, "overrides": false, "inherits": false, @@ -422,7 +422,7 @@ 8 ] ], - "id": 2645, + "id": 2921, "flags": {}, "overrides": false, "inherits": false, @@ -452,7 +452,7 @@ 11 ] ], - "id": 2648, + "id": 2924, "flags": {}, "overrides": false, "inherits": false, @@ -475,7 +475,7 @@ 18 ] ], - "id": 2669, + "id": 2945, "flags": { "isProtected": true }, @@ -507,7 +507,7 @@ 8 ] ], - "id": 2653, + "id": 2929, "flags": {}, "overrides": false, "inherits": false, @@ -530,7 +530,7 @@ 17 ] ], - "id": 2698, + "id": 2974, "flags": { "isAbstract": true }, @@ -568,7 +568,7 @@ 8 ] ], - "id": 2661, + "id": 2937, "flags": {}, "overrides": false, "inherits": false, @@ -591,7 +591,7 @@ 6 ] ], - "id": 2663, + "id": 2939, "flags": {}, "overrides": false, "inherits": false, @@ -624,7 +624,7 @@ 17 ] ], - "id": 2620, + "id": 2896, "flags": { "isProtected": true }, @@ -642,7 +642,7 @@ 4 ] ], - "id": 2619, + "id": 2895, "flags": {}, "type": "id", "overrides": false, @@ -658,7 +658,7 @@ 23 ] ], - "id": 2626, + "id": 2902, "flags": { "isProtected": true }, @@ -676,7 +676,7 @@ 19 ] ], - "id": 2625, + "id": 2901, "flags": { "isProtected": true }, diff --git a/docs/json/class/Svg_SVGForm.json b/docs/json/class/Svg_SVGForm.json index cbf789be..94c6af11 100644 --- a/docs/json/class/Svg_SVGForm.json +++ b/docs/json/class/Svg_SVGForm.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 6203, + "id": 6479, "comment": "**[Experimental]** SVGForm is an implementation of abstract class [`VisualForm`](#link). It provide methods to express Pts in [`SVGSpace`](#link).\nYou may extend SVGForm to implement your own expressions for SVGSpace. See out the [Space guide](../guide/Space-0500.html) for details.", "constructor": [ { @@ -20,7 +20,7 @@ 35 ] ], - "id": 6225, + "id": 6501, "flags": {}, "overrides": false, "inherits": false, @@ -52,7 +52,7 @@ 17 ] ], - "id": 6366, + "id": 6642, "flags": {}, "overrides": false, "inherits": "VisualForm.currentFont", @@ -76,7 +76,7 @@ 12 ] ], - "id": 6356, + "id": 6632, "flags": {}, "overrides": false, "inherits": "VisualForm.filled", @@ -103,7 +103,7 @@ 11 ] ], - "id": 6402, + "id": 6678, "flags": {}, "overrides": false, "inherits": "Form.ready", @@ -122,7 +122,7 @@ 11 ] ], - "id": 6228, + "id": 6504, "flags": {}, "overrides": false, "inherits": false, @@ -146,7 +146,7 @@ 13 ] ], - "id": 6361, + "id": 6637, "flags": {}, "overrides": false, "inherits": "VisualForm.stroked", @@ -175,7 +175,7 @@ 5 ] ], - "id": 6301, + "id": 6577, "flags": {}, "overrides": "VisualForm.arc", "inherits": false, @@ -229,7 +229,7 @@ 8 ] ], - "id": 6290, + "id": 6566, "flags": {}, "overrides": "VisualForm.circle", "inherits": false, @@ -264,7 +264,7 @@ 9 ] ], - "id": 6387, + "id": 6663, "flags": {}, "overrides": false, "inherits": "VisualForm.circles", @@ -294,7 +294,7 @@ 5 ] ], - "id": 6243, + "id": 6519, "flags": {}, "overrides": false, "inherits": false, @@ -329,7 +329,7 @@ 6 ] ], - "id": 6234, + "id": 6510, "flags": {}, "overrides": "VisualForm.fill", "inherits": false, @@ -364,7 +364,7 @@ 10 ] ], - "id": 6373, + "id": 6649, "flags": {}, "overrides": false, "inherits": "VisualForm.fillOnly", @@ -394,7 +394,7 @@ 6 ] ], - "id": 6246, + "id": 6522, "flags": {}, "overrides": "VisualForm.font", "inherits": false, @@ -453,7 +453,7 @@ 6 ] ], - "id": 6321, + "id": 6597, "flags": {}, "overrides": "VisualForm.line", "inherits": false, @@ -483,7 +483,7 @@ 7 ] ], - "id": 6393, + "id": 6669, "flags": {}, "overrides": false, "inherits": "VisualForm.lines", @@ -513,7 +513,7 @@ 5 ] ], - "id": 6352, + "id": 6628, "flags": {}, "overrides": false, "inherits": false, @@ -543,7 +543,7 @@ 8 ] ], - "id": 6262, + "id": 6538, "flags": {}, "overrides": false, "inherits": false, @@ -566,7 +566,7 @@ 7 ] ], - "id": 6280, + "id": 6556, "flags": {}, "overrides": "VisualForm.point", "inherits": false, @@ -613,7 +613,7 @@ 8 ] ], - "id": 6382, + "id": 6658, "flags": {}, "overrides": false, "inherits": "VisualForm.points", @@ -655,7 +655,7 @@ 9 ] ], - "id": 6333, + "id": 6609, "flags": {}, "overrides": "VisualForm.polygon", "inherits": false, @@ -685,7 +685,7 @@ 10 ] ], - "id": 6396, + "id": 6672, "flags": {}, "overrides": false, "inherits": "VisualForm.polygons", @@ -715,7 +715,7 @@ 6 ] ], - "id": 6340, + "id": 6616, "flags": {}, "overrides": "VisualForm.rect", "inherits": false, @@ -745,7 +745,7 @@ 7 ] ], - "id": 6399, + "id": 6675, "flags": {}, "overrides": false, "inherits": "VisualForm.rects", @@ -775,7 +775,7 @@ 7 ] ], - "id": 6253, + "id": 6529, "flags": {}, "overrides": "VisualForm.reset", "inherits": false, @@ -798,7 +798,7 @@ 7 ] ], - "id": 6259, + "id": 6535, "flags": {}, "overrides": false, "inherits": false, @@ -828,7 +828,7 @@ 8 ] ], - "id": 6313, + "id": 6589, "flags": {}, "overrides": false, "inherits": false, @@ -864,7 +864,7 @@ 9 ] ], - "id": 6390, + "id": 6666, "flags": {}, "overrides": false, "inherits": "VisualForm.squares", @@ -894,7 +894,7 @@ 8 ] ], - "id": 6237, + "id": 6513, "flags": {}, "overrides": "VisualForm.stroke", "inherits": false, @@ -947,7 +947,7 @@ 12 ] ], - "id": 6376, + "id": 6652, "flags": {}, "overrides": false, "inherits": "VisualForm.strokeOnly", @@ -995,7 +995,7 @@ 9 ] ], - "id": 6230, + "id": 6506, "flags": {}, "overrides": false, "inherits": false, @@ -1031,7 +1031,7 @@ 6 ] ], - "id": 6348, + "id": 6624, "flags": {}, "overrides": "VisualForm.text", "inherits": false, @@ -1067,7 +1067,7 @@ 13 ] ], - "id": 6255, + "id": 6531, "flags": {}, "overrides": false, "inherits": false, @@ -1103,7 +1103,7 @@ 12 ] ], - "id": 6293, + "id": 6569, "flags": { "isStatic": true }, @@ -1165,7 +1165,7 @@ 15 ] ], - "id": 6285, + "id": 6561, "flags": { "isStatic": true }, @@ -1209,7 +1209,7 @@ 14 ] ], - "id": 6264, + "id": 6540, "flags": { "isStatic": true }, @@ -1241,7 +1241,7 @@ 13 ] ], - "id": 6317, + "id": 6593, "flags": { "isStatic": true }, @@ -1279,7 +1279,7 @@ 14 ] ], - "id": 6274, + "id": 6550, "flags": { "isStatic": true }, @@ -1334,7 +1334,7 @@ 16 ] ], - "id": 6329, + "id": 6605, "flags": { "isStatic": true }, @@ -1372,7 +1372,7 @@ 13 ] ], - "id": 6336, + "id": 6612, "flags": { "isStatic": true }, @@ -1410,7 +1410,7 @@ 16 ] ], - "id": 6267, + "id": 6543, "flags": { "isStatic": true }, @@ -1442,7 +1442,7 @@ 15 ] ], - "id": 6308, + "id": 6584, "flags": { "isStatic": true }, @@ -1486,7 +1486,7 @@ 14 ] ], - "id": 6270, + "id": 6546, "flags": { "isStatic": true }, @@ -1529,7 +1529,7 @@ 13 ] ], - "id": 6343, + "id": 6619, "flags": { "isStatic": true }, @@ -1576,7 +1576,7 @@ 14 ] ], - "id": 6222, + "id": 6498, "flags": { "isStatic": true }, @@ -1594,7 +1594,7 @@ 16 ] ], - "id": 6221, + "id": 6497, "flags": { "isStatic": true }, diff --git a/docs/json/class/Svg_SVGSpace.json b/docs/json/class/Svg_SVGSpace.json index 029395c6..d34e756b 100644 --- a/docs/json/class/Svg_SVGSpace.json +++ b/docs/json/class/Svg_SVGSpace.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 6017, + "id": 6293, "comment": "**[Experimental]** SVGSpace extends [`DOMSpace`](#link) to support SVG elements. Use it with [`SVGForm`](#link) to express Pts in svg.\nYou may easily switch between html canvas and svg renderings with minimal code changes. Check out the [Space guide](../guide/Space-0500.html) for details, and see [a demo here](../demo/index.html?name=svgform.scope).", "constructor": [ { @@ -20,7 +20,7 @@ 37 ] ], - "id": 6020, + "id": 6296, "flags": {}, "overrides": "DOMSpace.__constructor", "inherits": false, @@ -68,7 +68,7 @@ 16 ] ], - "id": 6058, + "id": 6334, "flags": {}, "overrides": false, "inherits": "DOMSpace.autoResize", @@ -100,7 +100,7 @@ 16 ] ], - "id": 6072, + "id": 6348, "flags": {}, "overrides": false, "inherits": "DOMSpace.background", @@ -127,7 +127,7 @@ 12 ] ], - "id": 6197, + "id": 6473, "flags": {}, "overrides": false, "inherits": "Space.center", @@ -151,7 +151,7 @@ 21 ] ], - "id": 6177, + "id": 6453, "flags": {}, "overrides": false, "inherits": "Space.customRendering", @@ -178,7 +178,7 @@ 13 ] ], - "id": 6026, + "id": 6302, "flags": {}, "overrides": "DOMSpace.element", "inherits": false, @@ -197,7 +197,7 @@ 12 ] ], - "id": 6201, + "id": 6477, "flags": {}, "overrides": false, "inherits": "Space.height", @@ -216,7 +216,7 @@ 23 ] ], - "id": 6193, + "id": 6469, "flags": { "isPublic": true }, @@ -237,7 +237,7 @@ 15 ] ], - "id": 6189, + "id": 6465, "flags": {}, "overrides": false, "inherits": "Space.isPlaying", @@ -256,7 +256,7 @@ 16 ] ], - "id": 6191, + "id": 6467, "flags": {}, "overrides": false, "inherits": "Space.outerBound", @@ -275,7 +275,7 @@ 12 ] ], - "id": 6065, + "id": 6341, "flags": {}, "overrides": false, "inherits": "DOMSpace.parent", @@ -294,7 +294,7 @@ 20 ] ], - "id": 6096, + "id": 6372, "flags": { "isPublic": true }, @@ -315,7 +315,7 @@ 11 ] ], - "id": 6067, + "id": 6343, "flags": {}, "overrides": false, "inherits": "DOMSpace.ready", @@ -334,7 +334,7 @@ 10 ] ], - "id": 6195, + "id": 6471, "flags": {}, "overrides": false, "inherits": "Space.size", @@ -353,7 +353,7 @@ 11 ] ], - "id": 6199, + "id": 6475, "flags": {}, "overrides": false, "inherits": "Space.width", @@ -374,7 +374,7 @@ 5 ] ], - "id": 6152, + "id": 6428, "flags": {}, "overrides": false, "inherits": "Space.add", @@ -404,7 +404,7 @@ 12 ] ], - "id": 6098, + "id": 6374, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindCanvas", @@ -440,7 +440,7 @@ 11 ] ], - "id": 6106, + "id": 6382, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindMouse", @@ -475,7 +475,7 @@ 11 ] ], - "id": 6109, + "id": 6385, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.bindTouch", @@ -510,7 +510,7 @@ 7 ] ], - "id": 6069, + "id": 6345, "flags": {}, "overrides": "Space.clear", "inherits": "DOMSpace.clear", @@ -540,7 +540,7 @@ 9 ] ], - "id": 6024, + "id": 6300, "flags": {}, "overrides": "DOMSpace.getForm", "inherits": false, @@ -568,7 +568,7 @@ 7 ] ], - "id": 6163, + "id": 6439, "flags": {}, "overrides": false, "inherits": "Space.pause", @@ -598,7 +598,7 @@ 6 ] ], - "id": 6155, + "id": 6431, "flags": {}, "overrides": false, "inherits": "Space.play", @@ -628,7 +628,7 @@ 21 ] ], - "id": 6160, + "id": 6436, "flags": { "isProtected": true }, @@ -660,7 +660,7 @@ 10 ] ], - "id": 6171, + "id": 6447, "flags": {}, "overrides": false, "inherits": "Space.playOnce", @@ -690,7 +690,7 @@ 9 ] ], - "id": 6149, + "id": 6425, "flags": {}, "overrides": false, "inherits": "Space.refresh", @@ -720,7 +720,7 @@ 8 ] ], - "id": 6037, + "id": 6313, "flags": {}, "overrides": "Space.remove", "inherits": false, @@ -750,7 +750,7 @@ 11 ] ], - "id": 6040, + "id": 6316, "flags": {}, "overrides": "Space.removeAll", "inherits": false, @@ -773,7 +773,7 @@ 18 ] ], - "id": 6174, + "id": 6450, "flags": { "isProtected": true }, @@ -805,7 +805,7 @@ 8 ] ], - "id": 6158, + "id": 6434, "flags": {}, "overrides": false, "inherits": "Space.replay", @@ -828,7 +828,7 @@ 8 ] ], - "id": 6028, + "id": 6304, "flags": {}, "overrides": "DOMSpace.resize", "inherits": false, @@ -864,7 +864,7 @@ 8 ] ], - "id": 6166, + "id": 6442, "flags": {}, "overrides": false, "inherits": "Space.resume", @@ -887,7 +887,7 @@ 7 ] ], - "id": 6052, + "id": 6328, "flags": {}, "overrides": false, "inherits": "DOMSpace.setup", @@ -922,7 +922,7 @@ 6 ] ], - "id": 6168, + "id": 6444, "flags": {}, "overrides": false, "inherits": "Space.stop", @@ -952,7 +952,7 @@ 7 ] ], - "id": 6076, + "id": 6352, "flags": {}, "overrides": false, "inherits": "DOMSpace.style", @@ -994,7 +994,7 @@ 8 ] ], - "id": 6081, + "id": 6357, "flags": {}, "overrides": false, "inherits": "DOMSpace.styles", @@ -1030,7 +1030,7 @@ 17 ] ], - "id": 6112, + "id": 6388, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.touchesToPoints", @@ -1066,7 +1066,7 @@ 14 ] ], - "id": 6102, + "id": 6378, "flags": {}, "overrides": false, "inherits": "MultiTouchSpace.unbindCanvas", @@ -1102,7 +1102,7 @@ 22 ] ], - "id": 6047, + "id": 6323, "flags": { "isStatic": true }, @@ -1146,7 +1146,7 @@ 24 ] ], - "id": 6089, + "id": 6365, "flags": { "isStatic": true }, @@ -1183,7 +1183,7 @@ 16 ] ], - "id": 6085, + "id": 6361, "flags": { "isStatic": true }, @@ -1221,7 +1221,7 @@ 19 ] ], - "id": 6032, + "id": 6308, "flags": { "isStatic": true }, @@ -1268,7 +1268,7 @@ 17 ] ], - "id": 6138, + "id": 6414, "flags": { "isProtected": true }, @@ -1286,7 +1286,7 @@ 4 ] ], - "id": 6018, + "id": 6294, "flags": {}, "type": "id", "overrides": "DOMSpace.id", @@ -1302,7 +1302,7 @@ 23 ] ], - "id": 6144, + "id": 6420, "flags": { "isProtected": true }, @@ -1320,7 +1320,7 @@ 19 ] ], - "id": 6143, + "id": 6419, "flags": { "isProtected": true }, diff --git a/docs/json/class/Types_AnimateCallbackFn.json b/docs/json/class/Types_AnimateCallbackFn.json index ddeeb95a..b7dc18ac 100644 --- a/docs/json/class/Types_AnimateCallbackFn.json +++ b/docs/json/class/Types_AnimateCallbackFn.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1244, + "id": 1520, "comment": "Typescript only: AnimateCallbackFn is a type alias that represents a callback function for animation. It accepts parameters to keep track of current time, current frame-time, and current space instance.", "constructor": [], "accessors": [], diff --git a/docs/json/class/Types_ColorType.json b/docs/json/class/Types_ColorType.json index 41b59c9c..081ff95f 100644 --- a/docs/json/class/Types_ColorType.json +++ b/docs/json/class/Types_ColorType.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1251, + "id": 1527, "comment": "Typescript only: ColorType is a type alias for a defined set of string values such as \"rgb\" and \"lab\".", "constructor": [], "accessors": [], diff --git a/docs/json/class/Types_DOMFormContext.json b/docs/json/class/Types_DOMFormContext.json index 41c4c435..eecf0762 100644 --- a/docs/json/class/Types_DOMFormContext.json +++ b/docs/json/class/Types_DOMFormContext.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1263, + "id": 1539, "comment": "Typescript only: A type that represents the current context for an DOMForm.", "constructor": [], "accessors": [], diff --git a/docs/json/class/Types_DelaunayMesh.json b/docs/json/class/Types_DelaunayMesh.json index 9817ecdd..7805c4c1 100644 --- a/docs/json/class/Types_DelaunayMesh.json +++ b/docs/json/class/Types_DelaunayMesh.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1259, + "id": 1535, "comment": "Typescript only: A DelaunayMesh epresents an object type that has an array of {key: shape} items, where each shape represents a DelaunayShape.", "constructor": [], "accessors": [], diff --git a/docs/json/class/Types_DelaunayShape.json b/docs/json/class/Types_DelaunayShape.json index 89c7fba8..7af21003 100644 --- a/docs/json/class/Types_DelaunayShape.json +++ b/docs/json/class/Types_DelaunayShape.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1252, + "id": 1528, "comment": "Typescript only: A DelaunayShape represents an object type that can store a Delaunay element. It has 3 indices (i, j, k) and two groups that represent a triangle and a circle.", "constructor": [], "accessors": [], diff --git a/docs/json/class/Types_GroupLike.json b/docs/json/class/Types_GroupLike.json index fbd26a1d..619ad065 100644 --- a/docs/json/class/Types_GroupLike.json +++ b/docs/json/class/Types_GroupLike.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1243, + "id": 1519, "comment": "Typescript only: GroupLike is an alias of types that can represent a group of points.", "constructor": [], "accessors": [], diff --git a/docs/json/class/Types_IPlayer.json b/docs/json/class/Types_IPlayer.json index eb0d3afc..c80bfa15 100644 --- a/docs/json/class/Types_IPlayer.json +++ b/docs/json/class/Types_IPlayer.json @@ -8,7 +8,7 @@ ] ], "kind": "Interface", - "id": 948, + "id": 1224, "comment": "Typescript only: IPlayer is an interface that represents a \"player\" object that can be added into a Space.", "constructor": [], "accessors": [], @@ -22,7 +22,7 @@ 8 ] ], - "id": 955, + "id": 1231, "flags": { "isOptional": true }, @@ -72,7 +72,7 @@ 8 ] ], - "id": 951, + "id": 1227, "flags": { "isOptional": true }, @@ -110,7 +110,7 @@ 7 ] ], - "id": 961, + "id": 1237, "flags": { "isOptional": true }, @@ -151,7 +151,7 @@ 9 ] ], - "id": 950, + "id": 1226, "flags": { "isOptional": true }, @@ -169,7 +169,7 @@ 11 ] ], - "id": 949, + "id": 1225, "flags": { "isOptional": true }, diff --git a/docs/json/class/Types_IPt.json b/docs/json/class/Types_IPt.json index b66eef6a..c55a1d6c 100644 --- a/docs/json/class/Types_IPt.json +++ b/docs/json/class/Types_IPt.json @@ -8,7 +8,7 @@ ] ], "kind": "Interface", - "id": 943, + "id": 1219, "comment": "Typescript only: IPt is an interface that represents an object with x, y, z, w properties.", "constructor": [], "accessors": [], @@ -24,7 +24,7 @@ 3 ] ], - "id": 947, + "id": 1223, "flags": { "isOptional": true }, @@ -42,7 +42,7 @@ 3 ] ], - "id": 944, + "id": 1220, "flags": { "isOptional": true }, @@ -60,7 +60,7 @@ 3 ] ], - "id": 945, + "id": 1221, "flags": { "isOptional": true }, @@ -78,7 +78,7 @@ 3 ] ], - "id": 946, + "id": 1222, "flags": { "isOptional": true }, diff --git a/docs/json/class/Types_ISpacePlayers.json b/docs/json/class/Types_ISpacePlayers.json index 3a1cac04..a23621c5 100644 --- a/docs/json/class/Types_ISpacePlayers.json +++ b/docs/json/class/Types_ISpacePlayers.json @@ -8,7 +8,7 @@ ] ], "kind": "Interface", - "id": 965, + "id": 1241, "comment": "Typescript only: ISpacePlayers is an interface that represents a map of IPlayer instances.", "constructor": [], "accessors": [], diff --git a/docs/json/class/Types_ITimer.json b/docs/json/class/Types_ITimer.json index c2cf9dc7..c6e149cf 100644 --- a/docs/json/class/Types_ITimer.json +++ b/docs/json/class/Types_ITimer.json @@ -8,7 +8,7 @@ ] ], "kind": "Interface", - "id": 968, + "id": 1244, "comment": "Typescript only: ITimer is an interface that represents a time-recording object.", "constructor": [], "accessors": [], @@ -24,7 +24,7 @@ 6 ] ], - "id": 970, + "id": 1246, "flags": {}, "type": "diff", "overrides": false, @@ -40,7 +40,7 @@ 5 ] ], - "id": 971, + "id": 1247, "flags": {}, "type": "end", "overrides": false, @@ -56,7 +56,7 @@ 6 ] ], - "id": 969, + "id": 1245, "flags": {}, "type": "prev", "overrides": false, diff --git a/docs/json/class/Types_IntersectContext.json b/docs/json/class/Types_IntersectContext.json index d0fe1a53..1557ab65 100644 --- a/docs/json/class/Types_IntersectContext.json +++ b/docs/json/class/Types_IntersectContext.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1274, + "id": 1550, "comment": "Typescript only: IntersectContext represents a type of an object that store the intersection info.", "constructor": [], "accessors": [], diff --git a/docs/json/class/Types_MultiTouchElement.json b/docs/json/class/Types_MultiTouchElement.json index 25bc74d9..f7ae3212 100644 --- a/docs/json/class/Types_MultiTouchElement.json +++ b/docs/json/class/Types_MultiTouchElement.json @@ -8,7 +8,7 @@ ] ], "kind": "Interface", - "id": 972, + "id": 1248, "comment": "Typescript only: MultiTouchElement is an interface that represents an element that can handle touch events.", "constructor": [], "accessors": [], @@ -22,7 +22,7 @@ 18 ] ], - "id": 973, + "id": 1249, "flags": {}, "overrides": false, "inherits": false, @@ -58,7 +58,7 @@ 21 ] ], - "id": 977, + "id": 1253, "flags": {}, "overrides": false, "inherits": false, diff --git a/docs/json/class/Types_PtLike.json b/docs/json/class/Types_PtLike.json index 54e40d81..852c5385 100644 --- a/docs/json/class/Types_PtLike.json +++ b/docs/json/class/Types_PtLike.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1242, + "id": 1518, "comment": "Typescript only: PtLike is an alias of types that can represent a point.", "constructor": [], "accessors": [], diff --git a/docs/json/class/Types_PtsCanvasRenderingContext2D.json b/docs/json/class/Types_PtsCanvasRenderingContext2D.json index 2127bb71..dd08fdbe 100644 --- a/docs/json/class/Types_PtsCanvasRenderingContext2D.json +++ b/docs/json/class/Types_PtsCanvasRenderingContext2D.json @@ -8,7 +8,7 @@ ] ], "kind": "Interface", - "id": 981, + "id": 1257, "comment": "Typescript only: extends Canvas's 2D context with backingStorePixelRatio property.", "constructor": [], "accessors": [], @@ -22,7 +22,7 @@ 7 ] ], - "id": 1182, + "id": 1458, "flags": {}, "overrides": false, "inherits": "CanvasPathMethods.arc", @@ -82,7 +82,7 @@ 9 ] ], - "id": 1190, + "id": 1466, "flags": {}, "overrides": false, "inherits": "CanvasPathMethods.arcTo", @@ -136,7 +136,7 @@ 13 ] ], - "id": 1009, + "id": 1285, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.beginPath", @@ -159,7 +159,7 @@ 17 ] ], - "id": 1197, + "id": 1473, "flags": {}, "overrides": false, "inherits": "CanvasPathMethods.bezierCurveTo", @@ -219,7 +219,7 @@ 13 ] ], - "id": 1011, + "id": 1287, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.clearRect", @@ -272,7 +272,7 @@ 8 ] ], - "id": 1017, + "id": 1293, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.clip", @@ -322,7 +322,7 @@ 13 ] ], - "id": 1205, + "id": 1481, "flags": {}, "overrides": false, "inherits": "CanvasPathMethods.closePath", @@ -345,7 +345,7 @@ 19 ] ], - "id": 1023, + "id": 1299, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.createImageData", @@ -381,7 +381,7 @@ 24 ] ], - "id": 1027, + "id": 1303, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.createLinearGradient", @@ -429,7 +429,7 @@ 17 ] ], - "id": 1033, + "id": 1309, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.createPattern", @@ -465,7 +465,7 @@ 24 ] ], - "id": 1037, + "id": 1313, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.createRadialGradient", @@ -525,7 +525,7 @@ 21 ] ], - "id": 1045, + "id": 1321, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.drawFocusIfNeeded", @@ -565,7 +565,7 @@ 13 ] ], - "id": 1048, + "id": 1324, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.drawImage", @@ -707,7 +707,7 @@ 11 ] ], - "id": 1207, + "id": 1483, "flags": {}, "overrides": false, "inherits": "CanvasPathMethods.ellipse", @@ -784,7 +784,7 @@ 8 ] ], - "id": 1069, + "id": 1345, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.fill", @@ -834,7 +834,7 @@ 12 ] ], - "id": 1075, + "id": 1351, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.fillRect", @@ -882,7 +882,7 @@ 12 ] ], - "id": 1081, + "id": 1357, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.fillText", @@ -930,7 +930,7 @@ 16 ] ], - "id": 1087, + "id": 1363, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.getImageData", @@ -978,7 +978,7 @@ 15 ] ], - "id": 1093, + "id": 1369, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.getLineDash", @@ -1001,7 +1001,7 @@ 18 ] ], - "id": 1173, + "id": 1449, "flags": {}, "overrides": false, "inherits": "Object.hasOwnProperty", @@ -1036,7 +1036,7 @@ 17 ] ], - "id": 1095, + "id": 1371, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.isPointInPath", @@ -1110,7 +1110,7 @@ 17 ] ], - "id": 1176, + "id": 1452, "flags": {}, "overrides": false, "inherits": "Object.isPrototypeOf", @@ -1140,7 +1140,7 @@ 10 ] ], - "id": 1217, + "id": 1493, "flags": {}, "overrides": false, "inherits": "CanvasPathMethods.lineTo", @@ -1176,7 +1176,7 @@ 15 ] ], - "id": 1105, + "id": 1381, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.measureText", @@ -1206,7 +1206,7 @@ 10 ] ], - "id": 1221, + "id": 1497, "flags": {}, "overrides": false, "inherits": "CanvasPathMethods.moveTo", @@ -1242,7 +1242,7 @@ 24 ] ], - "id": 1179, + "id": 1455, "flags": {}, "overrides": false, "inherits": "Object.propertyIsEnumerable", @@ -1272,7 +1272,7 @@ 16 ] ], - "id": 1108, + "id": 1384, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.putImageData", @@ -1338,7 +1338,7 @@ 20 ] ], - "id": 1225, + "id": 1501, "flags": {}, "overrides": false, "inherits": "CanvasPathMethods.quadraticCurveTo", @@ -1386,7 +1386,7 @@ 8 ] ], - "id": 1231, + "id": 1507, "flags": {}, "overrides": false, "inherits": "CanvasPathMethods.rect", @@ -1434,7 +1434,7 @@ 11 ] ], - "id": 1117, + "id": 1393, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.restore", @@ -1457,7 +1457,7 @@ 10 ] ], - "id": 1119, + "id": 1395, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.rotate", @@ -1487,7 +1487,7 @@ 8 ] ], - "id": 1122, + "id": 1398, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.save", @@ -1510,7 +1510,7 @@ 9 ] ], - "id": 1124, + "id": 1400, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.scale", @@ -1546,7 +1546,7 @@ 15 ] ], - "id": 1128, + "id": 1404, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.setLineDash", @@ -1576,7 +1576,7 @@ 16 ] ], - "id": 1131, + "id": 1407, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.setTransform", @@ -1636,7 +1636,7 @@ 10 ] ], - "id": 1139, + "id": 1415, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.stroke", @@ -1666,7 +1666,7 @@ 14 ] ], - "id": 1142, + "id": 1418, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.strokeRect", @@ -1714,7 +1714,7 @@ 14 ] ], - "id": 1148, + "id": 1424, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.strokeText", @@ -1762,7 +1762,7 @@ 18 ] ], - "id": 1169, + "id": 1445, "flags": {}, "overrides": false, "inherits": "Object.toLocaleString", @@ -1785,7 +1785,7 @@ 12 ] ], - "id": 1167, + "id": 1443, "flags": {}, "overrides": false, "inherits": "Object.toString", @@ -1808,7 +1808,7 @@ 13 ] ], - "id": 1154, + "id": 1430, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.transform", @@ -1868,7 +1868,7 @@ 13 ] ], - "id": 1162, + "id": 1438, "flags": {}, "overrides": false, "inherits": "CanvasRenderingContext2D.translate", @@ -1904,7 +1904,7 @@ 11 ] ], - "id": 1171, + "id": 1447, "flags": {}, "overrides": false, "inherits": "Object.valueOf", @@ -1930,7 +1930,7 @@ 36 ] ], - "id": 1237, + "id": 1513, "flags": {}, "type": "CanvasRenderingContext2D", "overrides": false, @@ -1946,7 +1946,7 @@ 24 ] ], - "id": 986, + "id": 1262, "flags": { "isOptional": true }, @@ -1964,7 +1964,7 @@ 19 ] ], - "id": 987, + "id": 1263, "flags": {}, "type": "canvas", "overrides": false, @@ -1980,7 +1980,7 @@ 15 ] ], - "id": 1166, + "id": 1442, "flags": {}, "type": "constructor", "overrides": false, @@ -1996,7 +1996,7 @@ 13 ] ], - "id": 988, + "id": 1264, "flags": {}, "type": "fillStyle", "overrides": false, @@ -2012,7 +2012,7 @@ 8 ] ], - "id": 989, + "id": 1265, "flags": {}, "type": "font", "overrides": false, @@ -2028,7 +2028,7 @@ 15 ] ], - "id": 990, + "id": 1266, "flags": {}, "type": "globalAlpha", "overrides": false, @@ -2044,7 +2044,7 @@ 28 ] ], - "id": 991, + "id": 1267, "flags": {}, "type": "globalCompositeOperation", "overrides": false, @@ -2060,7 +2060,7 @@ 25 ] ], - "id": 992, + "id": 1268, "flags": {}, "type": "imageSmoothingEnabled", "overrides": false, @@ -2076,7 +2076,7 @@ 11 ] ], - "id": 993, + "id": 1269, "flags": {}, "type": "lineCap", "overrides": false, @@ -2092,7 +2092,7 @@ 18 ] ], - "id": 994, + "id": 1270, "flags": {}, "type": "lineDashOffset", "overrides": false, @@ -2108,7 +2108,7 @@ 12 ] ], - "id": 995, + "id": 1271, "flags": {}, "type": "lineJoin", "overrides": false, @@ -2124,7 +2124,7 @@ 13 ] ], - "id": 996, + "id": 1272, "flags": {}, "type": "lineWidth", "overrides": false, @@ -2140,7 +2140,7 @@ 14 ] ], - "id": 997, + "id": 1273, "flags": {}, "type": "miterLimit", "overrides": false, @@ -2156,7 +2156,7 @@ 27 ] ], - "id": 983, + "id": 1259, "flags": { "isOptional": true }, @@ -2174,7 +2174,7 @@ 28 ] ], - "id": 1006, + "id": 1282, "flags": {}, "type": "mozImageSmoothingEnabled", "overrides": false, @@ -2190,7 +2190,7 @@ 26 ] ], - "id": 984, + "id": 1260, "flags": { "isOptional": true }, @@ -2208,7 +2208,7 @@ 14 ] ], - "id": 998, + "id": 1274, "flags": {}, "type": "msFillRule", "overrides": false, @@ -2224,7 +2224,7 @@ 25 ] ], - "id": 985, + "id": 1261, "flags": { "isOptional": true }, @@ -2242,7 +2242,7 @@ 26 ] ], - "id": 1008, + "id": 1284, "flags": {}, "type": "oImageSmoothingEnabled", "overrides": false, @@ -2258,7 +2258,7 @@ 14 ] ], - "id": 999, + "id": 1275, "flags": {}, "type": "shadowBlur", "overrides": false, @@ -2274,7 +2274,7 @@ 15 ] ], - "id": 1000, + "id": 1276, "flags": {}, "type": "shadowColor", "overrides": false, @@ -2290,7 +2290,7 @@ 17 ] ], - "id": 1001, + "id": 1277, "flags": {}, "type": "shadowOffsetX", "overrides": false, @@ -2306,7 +2306,7 @@ 17 ] ], - "id": 1002, + "id": 1278, "flags": {}, "type": "shadowOffsetY", "overrides": false, @@ -2322,7 +2322,7 @@ 15 ] ], - "id": 1003, + "id": 1279, "flags": {}, "type": "strokeStyle", "overrides": false, @@ -2338,7 +2338,7 @@ 13 ] ], - "id": 1004, + "id": 1280, "flags": {}, "type": "textAlign", "overrides": false, @@ -2354,7 +2354,7 @@ 16 ] ], - "id": 1005, + "id": 1281, "flags": {}, "type": "textBaseline", "overrides": false, @@ -2370,7 +2370,7 @@ 30 ] ], - "id": 982, + "id": 1258, "flags": { "isOptional": true }, @@ -2388,7 +2388,7 @@ 31 ] ], - "id": 1007, + "id": 1283, "flags": {}, "type": "webkitImageSmoothingEnabled", "overrides": false, diff --git a/docs/json/class/Types_TouchPointsKey.json b/docs/json/class/Types_TouchPointsKey.json index 12c330d2..064989e6 100644 --- a/docs/json/class/Types_TouchPointsKey.json +++ b/docs/json/class/Types_TouchPointsKey.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1250, + "id": 1526, "comment": "Typescript only: TouchPointsKey is a type alias that represents a set of acceptable string keys for defining touch action.", "constructor": [], "accessors": [], diff --git a/docs/json/class/Types_UIHandler.json b/docs/json/class/Types_UIHandler.json index 195636e5..7f964eca 100644 --- a/docs/json/class/Types_UIHandler.json +++ b/docs/json/class/Types_UIHandler.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1282, + "id": 1558, "comment": "UIHandler is a type alias that represents a callback function to handle UI actions.", "constructor": [], "accessors": [], @@ -19,6 +19,6 @@ "extends": [], "implements": [], "type_alias": [ - " Fn(pt:Pt, target:UI, type:string)" + " Fn(target:UI, pt:PtLike, type:string)" ] } \ No newline at end of file diff --git a/docs/json/class/Types_WarningType.json b/docs/json/class/Types_WarningType.json index 58463418..9eecb1a7 100644 --- a/docs/json/class/Types_WarningType.json +++ b/docs/json/class/Types_WarningType.json @@ -8,7 +8,7 @@ ] ], "kind": "Typealias", - "id": 1288, + "id": 1564, "comment": "WarningType specifies a level of warning for [`Util.warnLevel`](#link).", "constructor": [], "accessors": [], diff --git a/docs/json/class/Typography_Typography.json b/docs/json/class/Typography_Typography.json index 2cfc77b8..f8da94ed 100644 --- a/docs/json/class/Typography_Typography.json +++ b/docs/json/class/Typography_Typography.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 2834, + "id": 3110, "comment": "Typography provides helper functions to support typographic layouts. For a concrete example, see [a demo here](../demo/index.html?name=canvasform.textBox) that uses the [`CanvasForm.textBox`](#link) function.", "constructor": [], "accessors": [], @@ -22,7 +22,7 @@ 22 ] ], - "id": 2855, + "id": 3131, "flags": { "isStatic": true }, @@ -66,7 +66,7 @@ 28 ] ], - "id": 2863, + "id": 3139, "flags": { "isStatic": true }, @@ -104,7 +104,7 @@ 27 ] ], - "id": 2835, + "id": 3111, "flags": { "isStatic": true }, @@ -148,7 +148,7 @@ 17 ] ], - "id": 2846, + "id": 3122, "flags": { "isStatic": true }, diff --git a/docs/json/class/UI_UI.json b/docs/json/class/UI_UI.json index c985f777..82167443 100644 --- a/docs/json/class/UI_UI.json +++ b/docs/json/class/UI_UI.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 826, + "id": 824, "comment": "**[Experimental]** An abstract class that represents an UI element. It wraps a [`Group`](#link) and supports UI event handling.\nExtend this class to create custom UI elements.", "constructor": [ { @@ -16,8 +16,8 @@ "source": [ [ "UI.ts", - 37, - 41 + 40, + 33 ] ], "id": 838, @@ -26,31 +26,31 @@ "inherits": false, "signatures": [ { - "comment": "Create an UI element.", + "comment": "Create an UI element. You may also create a new UI using one of the static helper like [`UI.fromRectangle`](#link) or [`UI.fromCircle`](#link).", "returns": "UI", "returns_comment": false, "parameters": [ { "name": "group", "comment": "a Group that defines the UI's appearance", - "type": "Group", + "type": "GroupLike", "default": false }, { "name": "shape", "comment": "specifies the shape of the Group", - "type": "UIShape", + "type": "string", "default": false }, { "name": "states", - "comment": "Optional default state object", - "type": "__type", - "default": false + "comment": "optional a state object keep track of custom states for this UI", + "type": "", + "default": "{}" }, { "name": "id", - "comment": "Optional id string\n", + "comment": "optional id string\n", "type": "string", "default": false } @@ -61,21 +61,53 @@ } ], "accessors": [ + { + "name": "group", + "source": [ + [ + "UI.ts", + 111, + 11 + ], + [ + "UI.ts", + 112, + 11 + ] + ], + "id": 871, + "flags": {}, + "overrides": false, + "inherits": false, + "comment": "A group of Pts that defines this UI's shape.", + "getter": { + "type": "Group" + }, + "setter": { + "type": "void", + "parameters": { + "name": "d", + "comment": "", + "type": "Group", + "default": false + } + } + }, { "name": "id", "source": [ [ "UI.ts", - 59, + 104, 8 ], [ "UI.ts", - 60, + 105, 8 ] ], - "id": 844, + "id": 867, "flags": {}, "overrides": false, "inherits": false, @@ -92,19 +124,83 @@ "default": false } } + }, + { + "name": "shape", + "source": [ + [ + "UI.ts", + 118, + 11 + ], + [ + "UI.ts", + 119, + 11 + ] + ], + "id": 875, + "flags": {}, + "overrides": false, + "inherits": false, + "comment": "A string that describes this UI's shape.", + "getter": { + "type": "string" + }, + "setter": { + "type": "void", + "parameters": { + "name": "d", + "comment": "", + "type": "string", + "default": false + } + } } ], "methods": [ + { + "name": "hold", + "source": [ + [ + "UI.ts", + 191, + 16 + ] + ], + "id": 895, + "flags": { + "isProtected": true + }, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "Continue to keep track of an actions even if it's not within this UI. Useful for hover-leave and drag-outside.", + "returns": "number", + "returns_comment": false, + "parameters": [ + { + "name": "key", + "comment": "a string defined in [`UIPointerActions`](#link)\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, { "name": "listen", "source": [ [ "UI.ts", - 99, + 172, 8 ] ], - "id": 858, + "id": 891, "flags": {}, "overrides": false, "inherits": false, @@ -116,14 +212,14 @@ "parameters": [ { "name": "key", - "comment": "action key", + "comment": "an action key. Can be one of UIPointerActions or a custom one.", "type": "string", "default": false }, { "name": "p", - "comment": "point to check\n", - "type": "Pt", + "comment": "a point to check\n", + "type": "PtLike", "default": false } ], @@ -136,18 +232,18 @@ "source": [ [ "UI.ts", - 88, + 156, 5 ] ], - "id": 855, + "id": 887, "flags": {}, "overrides": false, "inherits": false, "signatures": [ { "comment": "Remove an event handler.", - "returns": "this", + "returns": "boolean", "returns_comment": false, "parameters": [ { @@ -155,6 +251,12 @@ "comment": "event key", "type": "string", "default": false + }, + { + "name": "which", + "comment": "an ID number returned by [`UI.on`](#link). If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false } ], "tags": [] @@ -166,19 +268,19 @@ "source": [ [ "UI.ts", - 77, + 144, 4 ] ], - "id": 851, + "id": 883, "flags": {}, "overrides": false, "inherits": false, "signatures": [ { "comment": "Add an event handler.", - "returns": "this", - "returns_comment": false, + "returns": "number", + "returns_comment": "an id number that reference to this handler, for use in [`UI.off`](#link)\n", "parameters": [ { "name": "key", @@ -188,7 +290,7 @@ }, { "name": "fn", - "comment": "a [`UIHandler`](#link) function: `fn( pt:Pt, target:UI, type:string )`\n", + "comment": "a [`UIHandler`](#link) callback function: `fn( target:UI, pt:Pt, type:string )`", "type": "UIHandler", "default": false } @@ -202,11 +304,11 @@ "source": [ [ "UI.ts", - 114, + 227, 8 ] ], - "id": 862, + "id": 906, "flags": {}, "overrides": false, "inherits": false, @@ -218,7 +320,7 @@ "parameters": [ { "name": "fn", - "comment": "render function\n", + "comment": "a render function\n", "type": " Fn(group:Group, )", "default": false } @@ -232,67 +334,315 @@ "source": [ [ "UI.ts", - 67, + 128, 7 ] ], - "id": 848, + "id": 879, "flags": {}, "overrides": false, "inherits": false, "signatures": [ { - "comment": "Get a specific UI state.", + "comment": "Get and/or set a specific UI state.", "returns": "any", "returns_comment": false, "parameters": [ { "name": "key", - "comment": "state's name\n", + "comment": "state's name", "type": "string", "default": false + }, + { + "name": "value", + "comment": "optionally set a new value for this state.key", + "type": "any", + "default": false } ], "tags": [] } ] - } - ], - "variables": [], - "properties": [ + }, { - "name": "group", + "name": "toString", "source": [ [ "UI.ts", - 32, - 7 + 235, + 10 ] ], - "id": 827, + "id": 916, "flags": {}, - "type": "group", "overrides": false, "inherits": false, - "comment": "" + "signatures": [ + { + "comment": "Returns a string representation of this UI", + "returns": "string", + "returns_comment": false, + "parameters": [], + "tags": [] + } + ] }, { - "name": "shape", + "name": "unhold", "source": [ [ "UI.ts", - 33, - 7 + 201, + 18 ] ], - "id": 828, - "flags": {}, - "type": "shape", + "id": 898, + "flags": { + "isProtected": true + }, "overrides": false, "inherits": false, - "comment": "" + "signatures": [ + { + "comment": "Stop keeping track of this action", + "returns": "void", + "returns_comment": false, + "parameters": [ + { + "name": "id", + "comment": "an id returned by the [`UI.hold`](#link) function\n", + "type": "number", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromCircle", + "source": [ + [ + "UI.ts", + 75, + 19 + ] + ], + "id": 852, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "A static helper function to create a Circle UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "group", + "comment": "a group that defines a rectangle", + "type": "GroupLike", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI", + "type": "__type", + "default": false + }, + { + "name": "id", + "comment": "optional id string\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromPolygon", + "source": [ + [ + "UI.ts", + 86, + 20 + ] + ], + "id": 857, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "A static helper function to create a Polygon UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "group", + "comment": "a group that defines a rectangle", + "type": "GroupLike", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI", + "type": "__type", + "default": false + }, + { + "name": "id", + "comment": "optional id string\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromRectangle", + "source": [ + [ + "UI.ts", + 64, + 22 + ] + ], + "id": 847, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "A static helper function to create a Rectangle UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "group", + "comment": "a group that defines a rectangle", + "type": "GroupLike", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI", + "type": "__type", + "default": false + }, + { + "name": "id", + "comment": "optional id string\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromUI", + "source": [ + [ + "UI.ts", + 96, + 15 + ] + ], + "id": 862, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "A static helper function to create a new UI based on another UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "ui", + "comment": "base UI", + "type": "UI", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI\n", + "type": "object", + "default": false + }, + { + "name": "id", + "comment": "", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "track", + "source": [ + [ + "UI.ts", + 216, + 14 + ] + ], + "id": 901, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "A static function to listen for a list of UIs. See also [`UI.listen`](#link).", + "returns": "void", + "returns_comment": false, + "parameters": [ + { + "name": "uis", + "comment": "an array of UI", + "type": "UI[]", + "default": false + }, + { + "name": "key", + "comment": "an action key. Can be one of UIPointerActions or a custom one.", + "type": "string", + "default": false + }, + { + "name": "p", + "comment": "A point to check\n", + "type": "PtLike", + "default": false + } + ], + "tags": [] + } + ] } ], + "variables": [], + "properties": [], "flags": {}, "extends": [], "implements": [] diff --git a/docs/json/class/UI_UIButton.json b/docs/json/class/UI_UIButton.json index 04870a2f..60b9417b 100644 --- a/docs/json/class/UI_UIButton.json +++ b/docs/json/class/UI_UIButton.json @@ -3,12 +3,12 @@ "source": [ [ "UI.ts", - 144, + 304, 21 ] ], "kind": "Class", - "id": 875, + "id": 935, "comment": "**[Experimental]** A simple button that extends [`UI`](#link) to track clicks and hovers.", "constructor": [ { @@ -16,37 +16,37 @@ "source": [ [ "UI.ts", - 146, - 21 + 306, + 31 ] ], - "id": 877, + "id": 937, "flags": {}, "overrides": "UI.__constructor", "inherits": false, "signatures": [ { - "comment": "Create an UI button.", + "comment": "Create an UIButton. A button has 2 states, \"clicks\" (number) and \"hover\" (boolean), which you can access through [`UI.state`](#link) function. You may also create a new UIButton using one of the static helper like [`UI.fromRectangle`](#link) or [`UI.fromCircle`](#link).", "returns": "UIButton", "returns_comment": false, "parameters": [ { "name": "group", "comment": "a Group that defines the UI's appearance", - "type": "Group", + "type": "GroupLike", "default": false }, { "name": "shape", "comment": "specifies the shape of the Group", - "type": "UIShape", + "type": "string", "default": false }, { "name": "states", "comment": "Optional default state object", - "type": "__type", - "default": false + "type": "", + "default": "{}" }, { "name": "id", @@ -62,39 +62,52 @@ ], "accessors": [ { - "name": "clicks", + "name": "group", "source": [ [ "UI.ts", - 163, - 12 + 111, + 11 + ], + [ + "UI.ts", + 112, + 11 ] ], - "id": 883, + "id": 997, "flags": {}, "overrides": false, - "inherits": false, - "comment": "Get the total number of clicks on this button.", + "inherits": "UI.group", + "comment": "A group of Pts that defines this UI's shape.", "getter": { - "type": "number" + "type": "Group" }, - "setter": false + "setter": { + "type": "void", + "parameters": { + "name": "d", + "comment": "", + "type": "Group", + "default": false + } + } }, { "name": "id", "source": [ [ "UI.ts", - 59, + 104, 8 ], [ "UI.ts", - 60, + 105, 8 ] ], - "id": 903, + "id": 993, "flags": {}, "overrides": false, "inherits": "UI.id", @@ -111,19 +124,83 @@ "default": false } } + }, + { + "name": "shape", + "source": [ + [ + "UI.ts", + 118, + 11 + ], + [ + "UI.ts", + 119, + 11 + ] + ], + "id": 1001, + "flags": {}, + "overrides": false, + "inherits": "UI.shape", + "comment": "A string that describes this UI's shape.", + "getter": { + "type": "string" + }, + "setter": { + "type": "void", + "parameters": { + "name": "d", + "comment": "", + "type": "string", + "default": false + } + } } ], "methods": [ + { + "name": "hold", + "source": [ + [ + "UI.ts", + 191, + 16 + ] + ], + "id": 1021, + "flags": { + "isProtected": true + }, + "overrides": false, + "inherits": "UI.hold", + "signatures": [ + { + "comment": "Continue to keep track of an actions even if it's not within this UI. Useful for hover-leave and drag-outside.", + "returns": "number", + "returns_comment": false, + "parameters": [ + { + "name": "key", + "comment": "a string defined in [`UIPointerActions`](#link)\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, { "name": "listen", "source": [ [ "UI.ts", - 99, + 172, 8 ] ], - "id": 917, + "id": 1017, "flags": {}, "overrides": false, "inherits": "UI.listen", @@ -135,14 +212,14 @@ "parameters": [ { "name": "key", - "comment": "action key", + "comment": "an action key. Can be one of UIPointerActions or a custom one.", "type": "string", "default": false }, { "name": "p", - "comment": "point to check\n", - "type": "Pt", + "comment": "a point to check\n", + "type": "PtLike", "default": false } ], @@ -155,18 +232,18 @@ "source": [ [ "UI.ts", - 88, + 156, 5 ] ], - "id": 914, + "id": 1013, "flags": {}, "overrides": false, "inherits": "UI.off", "signatures": [ { "comment": "Remove an event handler.", - "returns": "this", + "returns": "boolean", "returns_comment": false, "parameters": [ { @@ -174,6 +251,78 @@ "comment": "event key", "type": "string", "default": false + }, + { + "name": "which", + "comment": "an ID number returned by [`UI.on`](#link). If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "offClick", + "source": [ + [ + "UI.ts", + 371, + 10 + ] + ], + "id": 949, + "flags": {}, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "Remove an existing click handler", + "returns": "boolean", + "returns_comment": "a boolean indicating whether the handler was removed successfully\n", + "parameters": [ + { + "name": "id", + "comment": "an ID number returned by [`UIButton.onClick`](#link). If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "offHover", + "source": [ + [ + "UI.ts", + 396, + 10 + ] + ], + "id": 956, + "flags": {}, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "Remove handlers for hover events.", + "returns": "boolean[]", + "returns_comment": "an array of booleans indicating whether the handlers were removed successfully\n", + "parameters": [ + { + "name": "enterID", + "comment": "an ID number returned by [`UI.onClick`](#link), or -1 to skip. If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false + }, + { + "name": "leaveID", + "comment": "an ID number returned by [`UI.onClick`](#link), or -1 to skip. If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false } ], "tags": [] @@ -185,19 +334,19 @@ "source": [ [ "UI.ts", - 77, + 144, 4 ] ], - "id": 910, + "id": 1009, "flags": {}, "overrides": false, "inherits": "UI.on", "signatures": [ { "comment": "Add an event handler.", - "returns": "this", - "returns_comment": false, + "returns": "number", + "returns_comment": "an id number that reference to this handler, for use in [`UI.off`](#link)\n", "parameters": [ { "name": "key", @@ -207,7 +356,7 @@ }, { "name": "fn", - "comment": "a [`UIHandler`](#link) function: `fn( pt:Pt, target:UI, type:string )`\n", + "comment": "a [`UIHandler`](#link) callback function: `fn( target:UI, pt:Pt, type:string )`", "type": "UIHandler", "default": false } @@ -221,23 +370,23 @@ "source": [ [ "UI.ts", - 170, + 361, 9 ] ], - "id": 885, + "id": 946, "flags": {}, "overrides": false, "inherits": false, "signatures": [ { - "comment": "Add click handler.", - "returns": "void", - "returns_comment": false, + "comment": "Add a new click handler", + "returns": "number", + "returns_comment": "an id number that refers to this handler, for use in [`UIButton.offClick`](#link) or [`UI.off`](#link).\n", "parameters": [ { "name": "fn", - "comment": "a [`UIHandler`](#link) function to handle clicks. Eg, `fn( pt:Pt, target:UI, type:string )`\n", + "comment": "a [`UIHandler`](#link) callback function: `fn( target:UI, pt:Pt, type:string )`", "type": "UIHandler", "default": false } @@ -251,29 +400,29 @@ "source": [ [ "UI.ts", - 181, + 382, 9 ] ], - "id": 888, + "id": 952, "flags": {}, "overrides": false, "inherits": false, "signatures": [ { - "comment": "Add hover handler.", - "returns": "void", - "returns_comment": false, + "comment": "Add handlers for hover events.", + "returns": "number[]", + "returns_comment": "id numbers that refer to enter/leave handlers, for use in [`UIButton.offHover`](#link) or [`UI.off`](#link).\n", "parameters": [ { - "name": "over", - "comment": "a [`UIHandler`](#link) function to handle when pointer enters hover. Eg, `fn( pt:Pt, target:UI, type:string )`", + "name": "enter", + "comment": "an optional [`UIHandler`](#link) function to handle when pointer enters hover. Eg, `fn( target:UI, pt:Pt, type:string )`", "type": "UIHandler", "default": false }, { - "name": "out", - "comment": "a [`UIHandler`](#link) function to handle when pointer exits hover. Eg, `fn( pt:Pt, target:UI, type:string )`\n", + "name": "leave", + "comment": "an optional [`UIHandler`](#link) function to handle when pointer exits hover. Eg, `fn( target:UI, pt:Pt, type:string )`", "type": "UIHandler", "default": false } @@ -287,11 +436,11 @@ "source": [ [ "UI.ts", - 114, + 227, 8 ] ], - "id": 921, + "id": 1032, "flags": {}, "overrides": false, "inherits": "UI.render", @@ -303,7 +452,7 @@ "parameters": [ { "name": "fn", - "comment": "render function\n", + "comment": "a render function\n", "type": " Fn(group:Group, )", "default": false } @@ -317,67 +466,315 @@ "source": [ [ "UI.ts", - 67, + 128, 7 ] ], - "id": 907, + "id": 1005, "flags": {}, "overrides": false, "inherits": "UI.state", "signatures": [ { - "comment": "Get a specific UI state.", + "comment": "Get and/or set a specific UI state.", "returns": "any", "returns_comment": false, "parameters": [ { "name": "key", - "comment": "state's name\n", + "comment": "state's name", "type": "string", "default": false + }, + { + "name": "value", + "comment": "optionally set a new value for this state.key", + "type": "any", + "default": false } ], "tags": [] } ] - } - ], - "variables": [], - "properties": [ + }, { - "name": "group", + "name": "toString", "source": [ [ "UI.ts", - 32, - 7 + 235, + 10 ] ], - "id": 892, + "id": 1042, "flags": {}, - "type": "group", "overrides": false, - "inherits": "UI.group", - "comment": "" + "inherits": "UI.toString", + "signatures": [ + { + "comment": "Returns a string representation of this UI", + "returns": "string", + "returns_comment": false, + "parameters": [], + "tags": [] + } + ] }, { - "name": "shape", + "name": "unhold", "source": [ [ "UI.ts", - 33, - 7 + 201, + 18 ] ], - "id": 893, - "flags": {}, - "type": "shape", + "id": 1024, + "flags": { + "isProtected": true + }, "overrides": false, - "inherits": "UI.shape", - "comment": "" + "inherits": "UI.unhold", + "signatures": [ + { + "comment": "Stop keeping track of this action", + "returns": "void", + "returns_comment": false, + "parameters": [ + { + "name": "id", + "comment": "an id returned by the [`UI.hold`](#link) function\n", + "type": "number", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromCircle", + "source": [ + [ + "UI.ts", + 75, + 19 + ] + ], + "id": 978, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": "UI.fromCircle", + "signatures": [ + { + "comment": "A static helper function to create a Circle UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "group", + "comment": "a group that defines a rectangle", + "type": "GroupLike", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI", + "type": "__type", + "default": false + }, + { + "name": "id", + "comment": "optional id string\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromPolygon", + "source": [ + [ + "UI.ts", + 86, + 20 + ] + ], + "id": 983, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": "UI.fromPolygon", + "signatures": [ + { + "comment": "A static helper function to create a Polygon UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "group", + "comment": "a group that defines a rectangle", + "type": "GroupLike", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI", + "type": "__type", + "default": false + }, + { + "name": "id", + "comment": "optional id string\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromRectangle", + "source": [ + [ + "UI.ts", + 64, + 22 + ] + ], + "id": 973, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": "UI.fromRectangle", + "signatures": [ + { + "comment": "A static helper function to create a Rectangle UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "group", + "comment": "a group that defines a rectangle", + "type": "GroupLike", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI", + "type": "__type", + "default": false + }, + { + "name": "id", + "comment": "optional id string\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromUI", + "source": [ + [ + "UI.ts", + 96, + 15 + ] + ], + "id": 988, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": "UI.fromUI", + "signatures": [ + { + "comment": "A static helper function to create a new UI based on another UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "ui", + "comment": "base UI", + "type": "UI", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI\n", + "type": "object", + "default": false + }, + { + "name": "id", + "comment": "", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "track", + "source": [ + [ + "UI.ts", + 216, + 14 + ] + ], + "id": 1027, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": "UI.track", + "signatures": [ + { + "comment": "A static function to listen for a list of UIs. See also [`UI.listen`](#link).", + "returns": "void", + "returns_comment": false, + "parameters": [ + { + "name": "uis", + "comment": "an array of UI", + "type": "UI[]", + "default": false + }, + { + "name": "key", + "comment": "an action key. Can be one of UIPointerActions or a custom one.", + "type": "string", + "default": false + }, + { + "name": "p", + "comment": "A point to check\n", + "type": "PtLike", + "default": false + } + ], + "tags": [] + } + ] } ], + "variables": [], + "properties": [], "flags": {}, "extends": [ "UI" diff --git a/docs/json/class/UI_UIDragger.json b/docs/json/class/UI_UIDragger.json new file mode 100644 index 00000000..58fb2a10 --- /dev/null +++ b/docs/json/class/UI_UIDragger.json @@ -0,0 +1,903 @@ +{ + "name": "UIDragger", + "source": [ + [ + "UI.ts", + 409, + 22 + ] + ], + "kind": "Class", + "id": 1061, + "comment": "[Experimental] A draggable UI that provides handler such as [`UIDragger.onDrag`](#link) and [`UIDragger.onDrop`](#link).", + "constructor": [ + { + "name": "constructor", + "source": [ + [ + "UI.ts", + 412, + 34 + ] + ], + "id": 1064, + "flags": {}, + "overrides": "UIButton.__constructor", + "inherits": false, + "signatures": [ + { + "comment": "Create a dragger which has all the states in UIButton, with additional \"dragging\" (boolean) and \"offset\" (Pt) states. (See [`UI.state`](#link)) You may also create a new UIDragger using one of the static helper like [`UI.fromRectangle`](#link) or [`UI.fromCircle`](#link).", + "returns": "UIDragger", + "returns_comment": false, + "parameters": [ + { + "name": "group", + "comment": "a Group that defines the UI's appearance", + "type": "GroupLike", + "default": false + }, + { + "name": "shape", + "comment": "specifies the shape of the Group", + "type": "string", + "default": false + }, + { + "name": "states", + "comment": "Optional default state object", + "type": "", + "default": "{}" + }, + { + "name": "id", + "comment": "Optional id string\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + } + ], + "accessors": [ + { + "name": "group", + "source": [ + [ + "UI.ts", + 111, + 11 + ], + [ + "UI.ts", + 112, + 11 + ] + ], + "id": 1136, + "flags": {}, + "overrides": false, + "inherits": "UI.group", + "comment": "A group of Pts that defines this UI's shape.", + "getter": { + "type": "Group" + }, + "setter": { + "type": "void", + "parameters": { + "name": "d", + "comment": "", + "type": "Group", + "default": false + } + } + }, + { + "name": "id", + "source": [ + [ + "UI.ts", + 104, + 8 + ], + [ + "UI.ts", + 105, + 8 + ] + ], + "id": 1132, + "flags": {}, + "overrides": false, + "inherits": "UI.id", + "comment": "An unique id of the UI.", + "getter": { + "type": "string" + }, + "setter": { + "type": "void", + "parameters": { + "name": "d", + "comment": "", + "type": "string", + "default": false + } + } + }, + { + "name": "shape", + "source": [ + [ + "UI.ts", + 118, + 11 + ], + [ + "UI.ts", + 119, + 11 + ] + ], + "id": 1140, + "flags": {}, + "overrides": false, + "inherits": "UI.shape", + "comment": "A string that describes this UI's shape.", + "getter": { + "type": "string" + }, + "setter": { + "type": "void", + "parameters": { + "name": "d", + "comment": "", + "type": "string", + "default": false + } + } + } + ], + "methods": [ + { + "name": "hold", + "source": [ + [ + "UI.ts", + 191, + 16 + ] + ], + "id": 1160, + "flags": { + "isProtected": true + }, + "overrides": false, + "inherits": "UI.hold", + "signatures": [ + { + "comment": "Continue to keep track of an actions even if it's not within this UI. Useful for hover-leave and drag-outside.", + "returns": "number", + "returns_comment": false, + "parameters": [ + { + "name": "key", + "comment": "a string defined in [`UIPointerActions`](#link)\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "listen", + "source": [ + [ + "UI.ts", + 172, + 8 + ] + ], + "id": 1156, + "flags": {}, + "overrides": false, + "inherits": "UI.listen", + "signatures": [ + { + "comment": "Listen for UI events and trigger action handlers.", + "returns": "boolean", + "returns_comment": false, + "parameters": [ + { + "name": "key", + "comment": "an action key. Can be one of UIPointerActions or a custom one.", + "type": "string", + "default": false + }, + { + "name": "p", + "comment": "a point to check\n", + "type": "PtLike", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "off", + "source": [ + [ + "UI.ts", + 156, + 5 + ] + ], + "id": 1152, + "flags": {}, + "overrides": false, + "inherits": "UI.off", + "signatures": [ + { + "comment": "Remove an event handler.", + "returns": "boolean", + "returns_comment": false, + "parameters": [ + { + "name": "key", + "comment": "event key", + "type": "string", + "default": false + }, + { + "name": "which", + "comment": "an ID number returned by [`UI.on`](#link). If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "offClick", + "source": [ + [ + "UI.ts", + 371, + 10 + ] + ], + "id": 1088, + "flags": {}, + "overrides": false, + "inherits": "UIButton.offClick", + "signatures": [ + { + "comment": "Remove an existing click handler", + "returns": "boolean", + "returns_comment": "a boolean indicating whether the handler was removed successfully\n", + "parameters": [ + { + "name": "id", + "comment": "an ID number returned by [`UIButton.onClick`](#link). If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "offDrag", + "source": [ + [ + "UI.ts", + 468, + 9 + ] + ], + "id": 1076, + "flags": {}, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "Remove an existing drag handler", + "returns": "boolean", + "returns_comment": "a boolean indicating whether the handler was removed successfully\n", + "parameters": [ + { + "name": "id", + "comment": "an ID number returned by [`UIDragger.onDrag`](#link). If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "offDrop", + "source": [ + [ + "UI.ts", + 488, + 9 + ] + ], + "id": 1082, + "flags": {}, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "Remove an existing drop handler", + "returns": "boolean", + "returns_comment": "a boolean indicating whether the handler was removed successfully\n", + "parameters": [ + { + "name": "id", + "comment": "an ID number returned by [`UIDragger.onDrag`](#link). If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "offHover", + "source": [ + [ + "UI.ts", + 396, + 10 + ] + ], + "id": 1095, + "flags": {}, + "overrides": false, + "inherits": "UIButton.offHover", + "signatures": [ + { + "comment": "Remove handlers for hover events.", + "returns": "boolean[]", + "returns_comment": "an array of booleans indicating whether the handlers were removed successfully\n", + "parameters": [ + { + "name": "enterID", + "comment": "an ID number returned by [`UI.onClick`](#link), or -1 to skip. If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false + }, + { + "name": "leaveID", + "comment": "an ID number returned by [`UI.onClick`](#link), or -1 to skip. If this is not defined, all handlers in this key will be removed.", + "type": "number", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "on", + "source": [ + [ + "UI.ts", + 144, + 4 + ] + ], + "id": 1148, + "flags": {}, + "overrides": false, + "inherits": "UI.on", + "signatures": [ + { + "comment": "Add an event handler.", + "returns": "number", + "returns_comment": "an id number that reference to this handler, for use in [`UI.off`](#link)\n", + "parameters": [ + { + "name": "key", + "comment": "event key", + "type": "string", + "default": false + }, + { + "name": "fn", + "comment": "a [`UIHandler`](#link) callback function: `fn( target:UI, pt:Pt, type:string )`", + "type": "UIHandler", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "onClick", + "source": [ + [ + "UI.ts", + 361, + 9 + ] + ], + "id": 1085, + "flags": {}, + "overrides": false, + "inherits": "UIButton.onClick", + "signatures": [ + { + "comment": "Add a new click handler", + "returns": "number", + "returns_comment": "an id number that refers to this handler, for use in [`UIButton.offClick`](#link) or [`UI.off`](#link).\n", + "parameters": [ + { + "name": "fn", + "comment": "a [`UIHandler`](#link) callback function: `fn( target:UI, pt:Pt, type:string )`", + "type": "UIHandler", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "onDrag", + "source": [ + [ + "UI.ts", + 458, + 8 + ] + ], + "id": 1073, + "flags": {}, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "Add a new drag handler.", + "returns": "number", + "returns_comment": "an id number that refers to this handler, for use in [`UIDragger.offDrag`](#link) or [`UI.off`](#link).\n", + "parameters": [ + { + "name": "fn", + "comment": "a [`UIHandler`](#link) callback function: `fn( target:UI, pt:Pt, type:string )`. You can access the states \"dragging\" and \"offset\" (See [`UI.state`](#link)) in the callback.", + "type": "UIHandler", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "onDrop", + "source": [ + [ + "UI.ts", + 478, + 8 + ] + ], + "id": 1079, + "flags": {}, + "overrides": false, + "inherits": false, + "signatures": [ + { + "comment": "Add a new drop handler.", + "returns": "number", + "returns_comment": "an id number that refers to this handler, for use in [`UIDragger.offDrop`](#link) or [`UI.off`](#link).\n", + "parameters": [ + { + "name": "fn", + "comment": "a [`UIHandler`](#link) callback function: `fn( target:UI, pt:Pt, type:string )`", + "type": "UIHandler", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "onHover", + "source": [ + [ + "UI.ts", + 382, + 9 + ] + ], + "id": 1091, + "flags": {}, + "overrides": false, + "inherits": "UIButton.onHover", + "signatures": [ + { + "comment": "Add handlers for hover events.", + "returns": "number[]", + "returns_comment": "id numbers that refer to enter/leave handlers, for use in [`UIButton.offHover`](#link) or [`UI.off`](#link).\n", + "parameters": [ + { + "name": "enter", + "comment": "an optional [`UIHandler`](#link) function to handle when pointer enters hover. Eg, `fn( target:UI, pt:Pt, type:string )`", + "type": "UIHandler", + "default": false + }, + { + "name": "leave", + "comment": "an optional [`UIHandler`](#link) function to handle when pointer exits hover. Eg, `fn( target:UI, pt:Pt, type:string )`", + "type": "UIHandler", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "render", + "source": [ + [ + "UI.ts", + 227, + 8 + ] + ], + "id": 1171, + "flags": {}, + "overrides": false, + "inherits": "UI.render", + "signatures": [ + { + "comment": "Take a custom render function to render this UI.", + "returns": "void", + "returns_comment": false, + "parameters": [ + { + "name": "fn", + "comment": "a render function\n", + "type": " Fn(group:Group, )", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "state", + "source": [ + [ + "UI.ts", + 128, + 7 + ] + ], + "id": 1144, + "flags": {}, + "overrides": false, + "inherits": "UI.state", + "signatures": [ + { + "comment": "Get and/or set a specific UI state.", + "returns": "any", + "returns_comment": false, + "parameters": [ + { + "name": "key", + "comment": "state's name", + "type": "string", + "default": false + }, + { + "name": "value", + "comment": "optionally set a new value for this state.key", + "type": "any", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "toString", + "source": [ + [ + "UI.ts", + 235, + 10 + ] + ], + "id": 1181, + "flags": {}, + "overrides": false, + "inherits": "UI.toString", + "signatures": [ + { + "comment": "Returns a string representation of this UI", + "returns": "string", + "returns_comment": false, + "parameters": [], + "tags": [] + } + ] + }, + { + "name": "unhold", + "source": [ + [ + "UI.ts", + 201, + 18 + ] + ], + "id": 1163, + "flags": { + "isProtected": true + }, + "overrides": false, + "inherits": "UI.unhold", + "signatures": [ + { + "comment": "Stop keeping track of this action", + "returns": "void", + "returns_comment": false, + "parameters": [ + { + "name": "id", + "comment": "an id returned by the [`UI.hold`](#link) function\n", + "type": "number", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromCircle", + "source": [ + [ + "UI.ts", + 75, + 19 + ] + ], + "id": 1117, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": "UI.fromCircle", + "signatures": [ + { + "comment": "A static helper function to create a Circle UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "group", + "comment": "a group that defines a rectangle", + "type": "GroupLike", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI", + "type": "__type", + "default": false + }, + { + "name": "id", + "comment": "optional id string\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromPolygon", + "source": [ + [ + "UI.ts", + 86, + 20 + ] + ], + "id": 1122, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": "UI.fromPolygon", + "signatures": [ + { + "comment": "A static helper function to create a Polygon UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "group", + "comment": "a group that defines a rectangle", + "type": "GroupLike", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI", + "type": "__type", + "default": false + }, + { + "name": "id", + "comment": "optional id string\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromRectangle", + "source": [ + [ + "UI.ts", + 64, + 22 + ] + ], + "id": 1112, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": "UI.fromRectangle", + "signatures": [ + { + "comment": "A static helper function to create a Rectangle UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "group", + "comment": "a group that defines a rectangle", + "type": "GroupLike", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI", + "type": "__type", + "default": false + }, + { + "name": "id", + "comment": "optional id string\n", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "fromUI", + "source": [ + [ + "UI.ts", + 96, + 15 + ] + ], + "id": 1127, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": "UI.fromUI", + "signatures": [ + { + "comment": "A static helper function to create a new UI based on another UI.", + "returns": "UI", + "returns_comment": false, + "parameters": [ + { + "name": "ui", + "comment": "base UI", + "type": "UI", + "default": false + }, + { + "name": "states", + "comment": "optional a state object keep track of custom states for this UI\n", + "type": "object", + "default": false + }, + { + "name": "id", + "comment": "", + "type": "string", + "default": false + } + ], + "tags": [] + } + ] + }, + { + "name": "track", + "source": [ + [ + "UI.ts", + 216, + 14 + ] + ], + "id": 1166, + "flags": { + "isStatic": true + }, + "overrides": false, + "inherits": "UI.track", + "signatures": [ + { + "comment": "A static function to listen for a list of UIs. See also [`UI.listen`](#link).", + "returns": "void", + "returns_comment": false, + "parameters": [ + { + "name": "uis", + "comment": "an array of UI", + "type": "UI[]", + "default": false + }, + { + "name": "key", + "comment": "an action key. Can be one of UIPointerActions or a custom one.", + "type": "string", + "default": false + }, + { + "name": "p", + "comment": "A point to check\n", + "type": "PtLike", + "default": false + } + ], + "tags": [] + } + ] + } + ], + "variables": [], + "properties": [], + "flags": {}, + "extends": [ + "UIButton" + ], + "implements": [] +} \ No newline at end of file diff --git a/docs/json/class/UI_UIPointerActions.json b/docs/json/class/UI_UIPointerActions.json index bdcaddda..fa3fd039 100644 --- a/docs/json/class/UI_UIPointerActions.json +++ b/docs/json/class/UI_UIPointerActions.json @@ -8,12 +8,28 @@ ] ], "kind": "Objectliteral", - "id": 934, + "id": 1206, "comment": "**[Experimental]** A set of string constants to represent different UI events.", "constructor": [], "accessors": [], "methods": [], "variables": [ + { + "name": "all", + "source": [ + [ + "UI.ts", + 22, + 147 + ] + ], + "id": 1217, + "flags": {}, + "type": "all", + "overrides": false, + "inherits": false, + "comment": "" + }, { "name": "down", "source": [ @@ -23,7 +39,7 @@ 16 ] ], - "id": 936, + "id": 1208, "flags": {}, "type": "down", "overrides": false, @@ -39,7 +55,7 @@ 44 ] ], - "id": 938, + "id": 1210, "flags": {}, "type": "drag", "overrides": false, @@ -52,16 +68,48 @@ [ "UI.ts", 22, - 58 + 76 ] ], - "id": 939, + "id": 1212, "flags": {}, "type": "drop", "overrides": false, "inherits": false, "comment": "" }, + { + "name": "enter", + "source": [ + [ + "UI.ts", + 22, + 117 + ] + ], + "id": 1215, + "flags": {}, + "type": "enter", + "overrides": false, + "inherits": false, + "comment": "" + }, + { + "name": "leave", + "source": [ + [ + "UI.ts", + 22, + 133 + ] + ], + "id": 1216, + "flags": {}, + "type": "leave", + "overrides": false, + "inherits": false, + "comment": "" + }, { "name": "move", "source": [ @@ -71,7 +119,7 @@ 30 ] ], - "id": 937, + "id": 1209, "flags": {}, "type": "move", "overrides": false, @@ -84,10 +132,10 @@ [ "UI.ts", 22, - 85 + 103 ] ], - "id": 941, + "id": 1214, "flags": {}, "type": "out", "overrides": false, @@ -100,16 +148,32 @@ [ "UI.ts", 22, - 72 + 90 ] ], - "id": 940, + "id": 1213, "flags": {}, "type": "over", "overrides": false, "inherits": false, "comment": "" }, + { + "name": "uidrag", + "source": [ + [ + "UI.ts", + 22, + 60 + ] + ], + "id": 1211, + "flags": {}, + "type": "uidrag", + "overrides": false, + "inherits": false, + "comment": "" + }, { "name": "up", "source": [ @@ -119,7 +183,7 @@ 4 ] ], - "id": 935, + "id": 1207, "flags": {}, "type": "up", "overrides": false, diff --git a/docs/json/class/UI_UIShape.json b/docs/json/class/UI_UIShape.json index 8e5823d0..aca99e5e 100644 --- a/docs/json/class/UI_UIShape.json +++ b/docs/json/class/UI_UIShape.json @@ -4,82 +4,82 @@ [ "UI.ts", 13, - 19 + 20 ] ], - "kind": "Enumeration", - "id": 820, - "comment": "**[Experimental]** An enumeration of different UI types, for use in [`UI`](#link) instances.", + "kind": "Objectliteral", + "id": 1200, + "comment": "**[Experimental]** A set of string constatns to represent different UI types, for use in [`UI`](#link) instances.", "constructor": [], "accessors": [], "methods": [], "variables": [ { - "name": "Circle", + "name": "circle", "source": [ [ "UI.ts", 14, - 19 + 32 ] ], - "id": 822, + "id": 1202, "flags": {}, - "type": "Circle", + "type": "circle", "overrides": false, "inherits": false, "comment": "" }, { - "name": "Line", + "name": "line", "source": [ [ "UI.ts", 14, - 44 + 90 ] ], - "id": 825, + "id": 1205, "flags": {}, - "type": "Line", + "type": "line", "overrides": false, "inherits": false, "comment": "" }, { - "name": "Polygon", + "name": "polygon", "source": [ [ "UI.ts", 14, - 28 + 51 ] ], - "id": 823, + "id": 1203, "flags": {}, - "type": "Polygon", + "type": "polygon", "overrides": false, "inherits": false, "comment": "" }, { - "name": "Polyline", + "name": "polyline", "source": [ [ "UI.ts", 14, - 38 + 72 ] ], - "id": 824, + "id": 1204, "flags": {}, - "type": "Polyline", + "type": "polyline", "overrides": false, "inherits": false, "comment": "" }, { - "name": "Rectangle", + "name": "rectangle", "source": [ [ "UI.ts", @@ -87,16 +87,18 @@ 11 ] ], - "id": 821, + "id": 1201, "flags": {}, - "type": "Rectangle", + "type": "rectangle", "overrides": false, "inherits": false, "comment": "" } ], "properties": [], - "flags": {}, + "flags": { + "isConst": true + }, "extends": [], "implements": [] } \ No newline at end of file diff --git a/docs/json/class/Util_Const.json b/docs/json/class/Util_Const.json index 310fc304..6bc992ab 100644 --- a/docs/json/class/Util_Const.json +++ b/docs/json/class/Util_Const.json @@ -8,7 +8,7 @@ ] ], "kind": "Objectliteral", - "id": 1349, + "id": 1625, "comment": "Various constant values for enumerations and calculations.", "constructor": [], "accessors": [], @@ -23,7 +23,7 @@ 8 ] ], - "id": 1359, + "id": 1635, "flags": {}, "type": "bottom", "overrides": false, @@ -39,7 +39,7 @@ 13 ] ], - "id": 1360, + "id": 1636, "flags": {}, "type": "bottom_left", "overrides": false, @@ -55,7 +55,7 @@ 14 ] ], - "id": 1358, + "id": 1634, "flags": {}, "type": "bottom_right", "overrides": false, @@ -71,7 +71,7 @@ 12 ] ], - "id": 1374, + "id": 1650, "flags": {}, "type": "deg_to_rad", "overrides": false, @@ -87,7 +87,7 @@ 9 ] ], - "id": 1365, + "id": 1641, "flags": {}, "type": "epsilon", "overrides": false, @@ -103,7 +103,7 @@ 10 ] ], - "id": 1377, + "id": 1653, "flags": {}, "type": "gaussian", "overrides": false, @@ -119,7 +119,7 @@ 9 ] ], - "id": 1375, + "id": 1651, "flags": {}, "type": "gravity", "overrides": false, @@ -135,7 +135,7 @@ 9 ] ], - "id": 1370, + "id": 1646, "flags": {}, "type": "half_pi", "overrides": false, @@ -151,7 +151,7 @@ 12 ] ], - "id": 1354, + "id": 1630, "flags": {}, "type": "horizontal", "overrides": false, @@ -167,7 +167,7 @@ 11 ] ], - "id": 1356, + "id": 1632, "flags": {}, "type": "identical", "overrides": false, @@ -183,7 +183,7 @@ 6 ] ], - "id": 1361, + "id": 1637, "flags": {}, "type": "left", "overrides": false, @@ -199,7 +199,7 @@ 5 ] ], - "id": 1366, + "id": 1642, "flags": {}, "type": "max", "overrides": false, @@ -215,7 +215,7 @@ 5 ] ], - "id": 1367, + "id": 1643, "flags": {}, "type": "min", "overrides": false, @@ -231,7 +231,7 @@ 8 ] ], - "id": 1376, + "id": 1652, "flags": {}, "type": "newton", "overrides": false, @@ -247,7 +247,7 @@ 12 ] ], - "id": 1372, + "id": 1648, "flags": {}, "type": "one_degree", "overrides": false, @@ -263,7 +263,7 @@ 4 ] ], - "id": 1368, + "id": 1644, "flags": {}, "type": "pi", "overrides": false, @@ -279,7 +279,7 @@ 12 ] ], - "id": 1371, + "id": 1647, "flags": {}, "type": "quarter_pi", "overrides": false, @@ -295,7 +295,7 @@ 12 ] ], - "id": 1373, + "id": 1649, "flags": {}, "type": "rad_to_deg", "overrides": false, @@ -311,7 +311,7 @@ 7 ] ], - "id": 1357, + "id": 1633, "flags": {}, "type": "right", "overrides": false, @@ -327,7 +327,7 @@ 5 ] ], - "id": 1363, + "id": 1639, "flags": {}, "type": "top", "overrides": false, @@ -343,7 +343,7 @@ 10 ] ], - "id": 1362, + "id": 1638, "flags": {}, "type": "top_left", "overrides": false, @@ -359,7 +359,7 @@ 11 ] ], - "id": 1364, + "id": 1640, "flags": {}, "type": "top_right", "overrides": false, @@ -375,7 +375,7 @@ 8 ] ], - "id": 1369, + "id": 1645, "flags": {}, "type": "two_pi", "overrides": false, @@ -391,7 +391,7 @@ 10 ] ], - "id": 1355, + "id": 1631, "flags": {}, "type": "vertical", "overrides": false, @@ -407,7 +407,7 @@ 4 ] ], - "id": 1350, + "id": 1626, "flags": {}, "type": "xy", "overrides": false, @@ -423,7 +423,7 @@ 5 ] ], - "id": 1353, + "id": 1629, "flags": {}, "type": "xyz", "overrides": false, @@ -439,7 +439,7 @@ 4 ] ], - "id": 1352, + "id": 1628, "flags": {}, "type": "xz", "overrides": false, @@ -455,7 +455,7 @@ 4 ] ], - "id": 1351, + "id": 1627, "flags": {}, "type": "yz", "overrides": false, diff --git a/docs/json/class/Util_Util.json b/docs/json/class/Util_Util.json index 4cc02852..d2e3700f 100644 --- a/docs/json/class/Util_Util.json +++ b/docs/json/class/Util_Util.json @@ -8,7 +8,7 @@ ] ], "kind": "Class", - "id": 1290, + "id": 1566, "comment": "Util class provides static helper functions.", "constructor": [], "accessors": [], @@ -22,7 +22,7 @@ 16 ] ], - "id": 1316, + "id": 1592, "flags": { "isStatic": true }, @@ -66,7 +66,7 @@ 16 ] ], - "id": 1312, + "id": 1588, "flags": { "isStatic": true }, @@ -104,7 +104,7 @@ 17 ] ], - "id": 1340, + "id": 1616, "flags": { "isStatic": true }, @@ -154,7 +154,7 @@ 16 ] ], - "id": 1295, + "id": 1571, "flags": { "isStatic": true }, @@ -186,7 +186,7 @@ 18 ] ], - "id": 1302, + "id": 1578, "flags": { "isStatic": true }, @@ -224,7 +224,7 @@ 14 ] ], - "id": 1306, + "id": 1582, "flags": { "isStatic": true }, @@ -274,7 +274,7 @@ 16 ] ], - "id": 1329, + "id": 1605, "flags": { "isStatic": true }, @@ -329,7 +329,7 @@ 13 ] ], - "id": 1298, + "id": 1574, "flags": { "isStatic": true }, @@ -367,7 +367,7 @@ 18 ] ], - "id": 1292, + "id": 1568, "flags": { "isStatic": true }, @@ -399,7 +399,7 @@ 12 ] ], - "id": 1326, + "id": 1602, "flags": { "isStatic": true }, diff --git a/docs/json/modules.json b/docs/json/modules.json index 330ddc3f..415902d9 100644 --- a/docs/json/modules.json +++ b/docs/json/modules.json @@ -80,10 +80,11 @@ "Typography" ], "UI": [ - "UIShape", "UI", "UIButton", - "UIPointerActions" + "UIDragger", + "UIPointerActions", + "UIShape" ], "Util": [ "Util", diff --git a/docs/json/search.json b/docs/json/search.json index 9936eff8..74596ed4 100644 --- a/docs/json/search.json +++ b/docs/json/search.json @@ -3965,6 +3965,12 @@ "Function", 8 ], + [ + "Op_Circle#function_fromTriangle", + "Circle.fromTriangle", + "Function", + 8 + ], [ "Op_Circle#function_intersectCircle2D", "Circle.intersectCircle2D", @@ -8621,42 +8627,6 @@ "Class", 0 ], - [ - "UI_UIShape#property_Circle", - "UIShape.Circle", - "Enumeration", - 0 - ], - [ - "UI_UIShape#property_Line", - "UIShape.Line", - "Enumeration", - 0 - ], - [ - "UI_UIShape#property_Polygon", - "UIShape.Polygon", - "Enumeration", - 0 - ], - [ - "UI_UIShape#property_Polyline", - "UIShape.Polyline", - "Enumeration", - 0 - ], - [ - "UI_UIShape#property_Rectangle", - "UIShape.Rectangle", - "Enumeration", - 0 - ], - [ - "UI_UIShape", - "UIShape", - "Enumeration", - 0 - ], [ "UI_UI#constructor_constructor", "UI.constructor", @@ -8664,16 +8634,10 @@ 10 ], [ - "UI_UI#property_group", + "UI_UI#accessor_group", "UI.group", - "Variable", - 0 - ], - [ - "UI_UI#property_shape", - "UI.shape", - "Variable", - 0 + "Accessor", + 6 ], [ "UI_UI#accessor_id", @@ -8681,6 +8645,18 @@ "Accessor", 6 ], + [ + "UI_UI#accessor_shape", + "UI.shape", + "Accessor", + 6 + ], + [ + "UI_UI#function_hold", + "UI.hold", + "Function", + 8 + ], [ "UI_UI#function_listen", "UI.listen", @@ -8711,6 +8687,48 @@ "Function", 8 ], + [ + "UI_UI#function_toString", + "UI.toString", + "Function", + 8 + ], + [ + "UI_UI#function_unhold", + "UI.unhold", + "Function", + 8 + ], + [ + "UI_UI#function_fromCircle", + "UI.fromCircle", + "Function", + 8 + ], + [ + "UI_UI#function_fromPolygon", + "UI.fromPolygon", + "Function", + 8 + ], + [ + "UI_UI#function_fromRectangle", + "UI.fromRectangle", + "Function", + 8 + ], + [ + "UI_UI#function_fromUI", + "UI.fromUI", + "Function", + 8 + ], + [ + "UI_UI#function_track", + "UI.track", + "Function", + 8 + ], [ "UI_UI", "UI", @@ -8724,20 +8742,8 @@ 10 ], [ - "UI_UIButton#property_group", + "UI_UIButton#accessor_group", "UIButton.group", - "Variable", - 0 - ], - [ - "UI_UIButton#property_shape", - "UIButton.shape", - "Variable", - 0 - ], - [ - "UI_UIButton#accessor_clicks", - "UIButton.clicks", "Accessor", 6 ], @@ -8747,6 +8753,18 @@ "Accessor", 6 ], + [ + "UI_UIButton#accessor_shape", + "UIButton.shape", + "Accessor", + 6 + ], + [ + "UI_UIButton#function_hold", + "UIButton.hold", + "Function", + 8 + ], [ "UI_UIButton#function_listen", "UIButton.listen", @@ -8759,6 +8777,18 @@ "Function", 8 ], + [ + "UI_UIButton#function_offClick", + "UIButton.offClick", + "Function", + 8 + ], + [ + "UI_UIButton#function_offHover", + "UIButton.offHover", + "Function", + 8 + ], [ "UI_UIButton#function_on", "UIButton.on", @@ -8789,12 +8819,216 @@ "Function", 8 ], + [ + "UI_UIButton#function_toString", + "UIButton.toString", + "Function", + 8 + ], + [ + "UI_UIButton#function_unhold", + "UIButton.unhold", + "Function", + 8 + ], + [ + "UI_UIButton#function_fromCircle", + "UIButton.fromCircle", + "Function", + 8 + ], + [ + "UI_UIButton#function_fromPolygon", + "UIButton.fromPolygon", + "Function", + 8 + ], + [ + "UI_UIButton#function_fromRectangle", + "UIButton.fromRectangle", + "Function", + 8 + ], + [ + "UI_UIButton#function_fromUI", + "UIButton.fromUI", + "Function", + 8 + ], + [ + "UI_UIButton#function_track", + "UIButton.track", + "Function", + 8 + ], [ "UI_UIButton", "UIButton", "Class", 0 ], + [ + "UI_UIDragger#constructor_constructor", + "UIDragger.constructor", + "Constructor", + 10 + ], + [ + "UI_UIDragger#accessor_group", + "UIDragger.group", + "Accessor", + 6 + ], + [ + "UI_UIDragger#accessor_id", + "UIDragger.id", + "Accessor", + 6 + ], + [ + "UI_UIDragger#accessor_shape", + "UIDragger.shape", + "Accessor", + 6 + ], + [ + "UI_UIDragger#function_hold", + "UIDragger.hold", + "Function", + 8 + ], + [ + "UI_UIDragger#function_listen", + "UIDragger.listen", + "Function", + 8 + ], + [ + "UI_UIDragger#function_off", + "UIDragger.off", + "Function", + 8 + ], + [ + "UI_UIDragger#function_offClick", + "UIDragger.offClick", + "Function", + 8 + ], + [ + "UI_UIDragger#function_offDrag", + "UIDragger.offDrag", + "Function", + 8 + ], + [ + "UI_UIDragger#function_offDrop", + "UIDragger.offDrop", + "Function", + 8 + ], + [ + "UI_UIDragger#function_offHover", + "UIDragger.offHover", + "Function", + 8 + ], + [ + "UI_UIDragger#function_on", + "UIDragger.on", + "Function", + 8 + ], + [ + "UI_UIDragger#function_onClick", + "UIDragger.onClick", + "Function", + 8 + ], + [ + "UI_UIDragger#function_onDrag", + "UIDragger.onDrag", + "Function", + 8 + ], + [ + "UI_UIDragger#function_onDrop", + "UIDragger.onDrop", + "Function", + 8 + ], + [ + "UI_UIDragger#function_onHover", + "UIDragger.onHover", + "Function", + 8 + ], + [ + "UI_UIDragger#function_render", + "UIDragger.render", + "Function", + 8 + ], + [ + "UI_UIDragger#function_state", + "UIDragger.state", + "Function", + 8 + ], + [ + "UI_UIDragger#function_toString", + "UIDragger.toString", + "Function", + 8 + ], + [ + "UI_UIDragger#function_unhold", + "UIDragger.unhold", + "Function", + 8 + ], + [ + "UI_UIDragger#function_fromCircle", + "UIDragger.fromCircle", + "Function", + 8 + ], + [ + "UI_UIDragger#function_fromPolygon", + "UIDragger.fromPolygon", + "Function", + 8 + ], + [ + "UI_UIDragger#function_fromRectangle", + "UIDragger.fromRectangle", + "Function", + 8 + ], + [ + "UI_UIDragger#function_fromUI", + "UIDragger.fromUI", + "Function", + 8 + ], + [ + "UI_UIDragger#function_track", + "UIDragger.track", + "Function", + 8 + ], + [ + "UI_UIDragger", + "UIDragger", + "Class", + 0 + ], + [ + "UI_UIPointerActions#property_all", + "UIPointerActions.all", + "Variable", + 0 + ], [ "UI_UIPointerActions#property_down", "UIPointerActions.down", @@ -8813,6 +9047,18 @@ "Variable", 0 ], + [ + "UI_UIPointerActions#property_enter", + "UIPointerActions.enter", + "Variable", + 0 + ], + [ + "UI_UIPointerActions#property_leave", + "UIPointerActions.leave", + "Variable", + 0 + ], [ "UI_UIPointerActions#property_move", "UIPointerActions.move", @@ -8831,6 +9077,12 @@ "Variable", 0 ], + [ + "UI_UIPointerActions#property_uidrag", + "UIPointerActions.uidrag", + "Variable", + 0 + ], [ "UI_UIPointerActions#property_up", "UIPointerActions.up", @@ -8843,6 +9095,42 @@ "Object literal", 0 ], + [ + "UI_UIShape#property_circle", + "UIShape.circle", + "Variable", + 0 + ], + [ + "UI_UIShape#property_line", + "UIShape.line", + "Variable", + 0 + ], + [ + "UI_UIShape#property_polygon", + "UIShape.polygon", + "Variable", + 0 + ], + [ + "UI_UIShape#property_polyline", + "UIShape.polyline", + "Variable", + 0 + ], + [ + "UI_UIShape#property_rectangle", + "UIShape.rectangle", + "Variable", + 0 + ], + [ + "UI_UIShape", + "UIShape", + "Object literal", + 0 + ], [ "Util_Util#function_combine", "Util.combine",