@compass-framework/worksheet-layout 1.0.33 → 1.0.34
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.
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import { Canvas,
|
|
1
|
+
import { Canvas, Drawable } from "@compass-framework/core";
|
|
2
2
|
import { ScrollGridDelta } from "./ScrollGridDelta";
|
|
3
3
|
import { ScrollRange } from "./ScrollRange";
|
|
4
4
|
import { ScrollPosition } from "./ScrollPosition";
|
|
5
5
|
|
|
6
|
-
export declare class UIWorksheetLayoutDrawable extends
|
|
6
|
+
export declare class UIWorksheetLayoutDrawable extends Drawable {
|
|
7
7
|
public render(canvas: Canvas): void;
|
|
8
8
|
|
|
9
|
-
public
|
|
10
|
-
public addLayer(layer: UIWorksheetLayoutDrawable, left: number, top: number, right: number, bottom: number): void;
|
|
11
|
-
public addLayer(layer: UIWorksheetLayoutDrawable, id: number, left: number, top: number, right: number, bottom: number): void;
|
|
12
|
-
|
|
13
|
-
public removeLayer(layer: UIWorksheetLayoutDrawable): void;
|
|
9
|
+
public draw(canvas: Canvas): void;
|
|
14
10
|
|
|
15
11
|
public getScrollGridDelta(): ScrollGridDelta;
|
|
16
12
|
|
|
@@ -18,8 +14,12 @@ export declare class UIWorksheetLayoutDrawable extends LayerDrawable {
|
|
|
18
14
|
|
|
19
15
|
public getScrollPosition(): ScrollPosition;
|
|
20
16
|
|
|
17
|
+
public getOpacity(): number;
|
|
18
|
+
|
|
21
19
|
public setScrollPosition(scrollPosition: ScrollPosition): void;
|
|
22
20
|
|
|
21
|
+
public setAlpha(alpha: number): void;
|
|
22
|
+
|
|
23
23
|
public setScrollRange(scrollRange: ScrollRange): void;
|
|
24
24
|
|
|
25
25
|
public setScrollGridDelta(position: ScrollGridDelta): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UIWorksheetLayoutDrawable } from "./UIWorksheetLayoutDrawable";
|
|
2
|
+
|
|
3
|
+
export declare class UIWorksheetLayoutMultipleDrawable extends UIWorksheetLayoutDrawable {
|
|
4
|
+
public mountDrawable(layer: UIWorksheetLayoutDrawable): void;
|
|
5
|
+
|
|
6
|
+
public unmountDrawable(layer: UIWorksheetLayoutDrawable): void;
|
|
7
|
+
}
|