@vvfx/sdk 0.0.0-alpha.70 → 0.0.0-alpha.71

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/index.d.cts CHANGED
@@ -1313,7 +1313,7 @@ declare class SDK {
1313
1313
  * @description 视图缩放函数
1314
1314
  * @param shiftParam 视图偏移值
1315
1315
  */
1316
- viewportFit(shiftParam?: ViewportFitShiftParam): void;
1316
+ viewportFit(shiftParam?: ViewportFitShiftParam, box?: Box2): void;
1317
1317
  /**
1318
1318
  * @description 获取元素包围盒
1319
1319
  * @param idInfo 元素Id
@@ -1354,6 +1354,10 @@ type TextFormProperty = BaseFormProperty & {
1354
1354
  lineHeight: number;
1355
1355
  outlineColor?: spec.vec4;
1356
1356
  outlineWidth?: number;
1357
+ /**
1358
+ * @description 描边开关
1359
+ */
1360
+ outlineEnabled?: boolean;
1357
1361
  };
1358
1362
  /**
1359
1363
  * @description 页面表单类型和属性引用
@@ -1798,6 +1802,10 @@ type TextCreateInfo = {
1798
1802
  * @description 描边宽度
1799
1803
  */
1800
1804
  outlineWidth?: number;
1805
+ /**
1806
+ * @description 描边开关
1807
+ */
1808
+ outlineEnabled?: boolean;
1801
1809
  /**
1802
1810
  * @description 字体文件地址
1803
1811
  */
package/dist/index.d.ts CHANGED
@@ -1313,7 +1313,7 @@ declare class SDK {
1313
1313
  * @description 视图缩放函数
1314
1314
  * @param shiftParam 视图偏移值
1315
1315
  */
1316
- viewportFit(shiftParam?: ViewportFitShiftParam): void;
1316
+ viewportFit(shiftParam?: ViewportFitShiftParam, box?: Box2): void;
1317
1317
  /**
1318
1318
  * @description 获取元素包围盒
1319
1319
  * @param idInfo 元素Id
@@ -1354,6 +1354,10 @@ type TextFormProperty = BaseFormProperty & {
1354
1354
  lineHeight: number;
1355
1355
  outlineColor?: spec.vec4;
1356
1356
  outlineWidth?: number;
1357
+ /**
1358
+ * @description 描边开关
1359
+ */
1360
+ outlineEnabled?: boolean;
1357
1361
  };
1358
1362
  /**
1359
1363
  * @description 页面表单类型和属性引用
@@ -1798,6 +1802,10 @@ type TextCreateInfo = {
1798
1802
  * @description 描边宽度
1799
1803
  */
1800
1804
  outlineWidth?: number;
1805
+ /**
1806
+ * @description 描边开关
1807
+ */
1808
+ outlineEnabled?: boolean;
1801
1809
  /**
1802
1810
  * @description 字体文件地址
1803
1811
  */