@@ -367,12 +367,25 @@ export interface Boolean extends ShapeBase {
367367 /**
368368 * Converts the boolean shape to its path data representation.
369369 * @return Returns the path data (d attribute) as a string.
370+ * @deprecated Use the `d` attribute
370371 */
371372 toD ( ) : string ;
373+
374+ /**
375+ * The content of the boolean shape, defined as the path string.
376+ * @deprecated Use either `d` or `commands`.
377+ */
378+ content : string ;
379+
380+ /**
381+ * The content of the boolean shape, defined as the path string.
382+ */
383+ d : string ;
384+
372385 /**
373386 * The content of the boolean shape, defined as an array of path commands.
374387 */
375- content : Array < PathCommand > ;
388+ commands : Array < PathCommand > ;
376389
377390 /**
378391 * The fills applied to the shape.
@@ -3108,12 +3121,25 @@ export interface Path extends ShapeBase {
31083121 /**
31093122 * Converts the path shape to its path data representation.
31103123 * @return Returns the path data (d attribute) as a string.
3124+ * @deprecated Use the `d` attribute
31113125 */
31123126 toD ( ) : string ;
3127+
31133128 /**
3114- * The content of the path shape, defined as an array of path commands.
3129+ * The content of the boolean shape, defined as the path string.
3130+ * @deprecated Use either `d` or `commands`.
3131+ */
3132+ content : string ;
3133+
3134+ /**
3135+ * The content of the boolean shape, defined as the path string.
3136+ */
3137+ d : string ;
3138+
3139+ /**
3140+ * The content of the boolean shape, defined as an array of path commands.
31153141 */
3116- content : Array < PathCommand > ;
3142+ commands : Array < PathCommand > ;
31173143
31183144 /**
31193145 * The fills applied to the shape.
0 commit comments