@rnacanvas/draw 2.24.0 → 2.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/BondsDrawing.d.ts
CHANGED
|
@@ -12,11 +12,19 @@ export interface Bond extends DrawingElement {
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class BondsDrawing<T extends Bond> {
|
|
14
14
|
private svgDoc;
|
|
15
|
-
bonds: T[];
|
|
16
15
|
/**
|
|
17
16
|
* This class wraps an elements drawing.
|
|
18
17
|
*/
|
|
19
18
|
private elementsDrawing;
|
|
20
19
|
constructor(svgDoc: SVGSVGElement, bonds: T[]);
|
|
20
|
+
/**
|
|
21
|
+
* The bonds in the drawing.
|
|
22
|
+
*
|
|
23
|
+
* The ordering of bonds in the returned array is the ordering of bonds in the drawing.
|
|
24
|
+
*
|
|
25
|
+
* The returned array can be directly edited to change the order of bonds and/or register/unregister bonds.
|
|
26
|
+
*/
|
|
27
|
+
get bonds(): T[];
|
|
28
|
+
set bonds(bonds: T[]);
|
|
21
29
|
}
|
|
22
30
|
//# sourceMappingURL=BondsDrawing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BondsDrawing.d.ts","sourceRoot":"","sources":["../src/BondsDrawing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,IAAK,SAAQ,cAAc;IAC1C,KAAK,EAAE,cAAc,CAAC;IACtB,KAAK,EAAE,cAAc,CAAC;IAEtB,MAAM,IAAI,IAAI,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,YAAY,CAAC,CAAC,SAAS,IAAI;IAM1B,OAAO,CAAC,MAAM;
|
|
1
|
+
{"version":3,"file":"BondsDrawing.d.ts","sourceRoot":"","sources":["../src/BondsDrawing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,IAAK,SAAQ,cAAc;IAC1C,KAAK,EAAE,cAAc,CAAC;IACtB,KAAK,EAAE,cAAc,CAAC;IAEtB,MAAM,IAAI,IAAI,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,YAAY,CAAC,CAAC,SAAS,IAAI;IAM1B,OAAO,CAAC,MAAM;IAL1B;;OAEG;IACH,OAAO,CAAC,eAAe,CAAqB;gBAExB,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,EAAE;IAcrD;;;;;;OAMG;IACH,IAAI,KAAK,IAAI,CAAC,EAAE,CAEf;IAED,IAAI,KAAK,CAAC,KAAK,EAJF,CAAC,EAIC,EAEd;CACF"}
|