@univerjs-pro/engine-shape 0.16.1 → 0.17.0
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/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/model/shape-model.d.ts +5 -0
- package/lib/umd/index.js +1 -1
- package/package.json +2 -2
|
@@ -74,6 +74,11 @@ export declare class BasicShapeModel implements IShapeModel {
|
|
|
74
74
|
* @returns {number} The actual set val of adj point, it will consider about max min value
|
|
75
75
|
*/
|
|
76
76
|
setAdjustValueByName(adjName: string, value: number): number;
|
|
77
|
+
/**
|
|
78
|
+
* Get adjust value by adj name
|
|
79
|
+
* @param {string} adjName The name of adj point
|
|
80
|
+
* @returns {number | undefined} The val of adj point, if the shape has no such adj point, return undefined.
|
|
81
|
+
*/
|
|
77
82
|
getAdjustValueByName(adjName: string): number | undefined;
|
|
78
83
|
updateContext(options: IShapeContextOptions): void;
|
|
79
84
|
getGdRecord(): Partial<IGdContext>;
|