@univerjs/engine-render 0.10.8 → 0.10.9

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.
@@ -19,7 +19,7 @@ export declare function getDevicePixelRatio(): number;
19
19
  * @param position border draw position
20
20
  */
21
21
  export declare function drawLineByBorderType(ctx: UniverRenderingContext, type: BORDER_LTRB, lineWidthBuffer: number, position: IPosition): void;
22
- export declare function drawDiagonalLineByBorderType(ctx: UniverRenderingContext, type: BORDER_LTRB, position: IPosition): void;
22
+ export declare function drawDiagonalineByBorderType(ctx: UniverRenderingContext, style: BorderStyleTypes, type: BORDER_LTRB, position: IPosition): void;
23
23
  export declare function clearLineByBorderType(ctx: UniverRenderingContext, type: BORDER_LTRB, position: IPosition): void;
24
24
  export declare function setLineType(ctx: UniverRenderingContext, style: BorderStyleTypes): void;
25
25
  export declare function getLineOffset(): number;
@@ -23,6 +23,7 @@ export declare class DocumentSkeleton extends Skeleton {
23
23
  private _hyphen;
24
24
  private _languageDetector;
25
25
  private _iteratorCount;
26
+ private _initialWidth;
26
27
  constructor(_docViewModel: DocumentViewModel, localeService: LocaleService);
27
28
  static create(docViewModel: DocumentViewModel, localeService: LocaleService): DocumentSkeleton;
28
29
  dispose(): void;
@@ -33,6 +34,7 @@ export declare class DocumentSkeleton extends Skeleton {
33
34
  */
34
35
  calculate(bounds?: IViewportInfo): void;
35
36
  getSkeletonData(): Nullable<IDocumentSkeletonCached>;
37
+ resetInitialWidth(): void;
36
38
  getActualSize(): {
37
39
  actualWidth: number;
38
40
  actualHeight: number;