Commit 9b741a76 authored by wjf's avatar wjf

l

parent 9f47735a
This diff is collapsed.
This diff is collapsed.
......@@ -3,7 +3,7 @@ import Texture from "../texture/Texture";
import { getRGBA } from "../utils";
import { Rectangle } from "../math";
import Sprite from "../display/Sprite";
import { Event } from "../../../types/2d/events/Event";
import { Event } from "../events";
//文本canvas上xy的偏移量
const padding = 10;
......
......@@ -50,16 +50,16 @@ export declare class DisplayObject extends EventDispatcher {
alpha: number;
x: number;
y: number;
readonly worldMatrix: import("../../../../../../../../Users/rockyl/WorkSpaces/VisualEditor/renderingengine/src/2d/math/Matrix").Matrix;
readonly localMatrix: import("../../../../../../../../Users/rockyl/WorkSpaces/VisualEditor/renderingengine/src/2d/math/Matrix").Matrix;
position: import("../../../../../../../../Users/rockyl/WorkSpaces/VisualEditor/renderingengine/src/2d/math/ObservablePoint").ObservablePoint;
scale: import("../../../../../../../../Users/rockyl/WorkSpaces/VisualEditor/renderingengine/src/2d/math/ObservablePoint").ObservablePoint;
readonly worldMatrix: import("../../../../../duibaGame/renderingengine/src/2d/math/Matrix").Matrix;
readonly localMatrix: import("../../../../../duibaGame/renderingengine/src/2d/math/Matrix").Matrix;
position: import("../../../../../duibaGame/renderingengine/src/2d/math/ObservablePoint").ObservablePoint;
scale: import("../../../../../duibaGame/renderingengine/src/2d/math/ObservablePoint").ObservablePoint;
scaleX: number;
scaleY: number;
anchor: import("../../../../../../../../Users/rockyl/WorkSpaces/VisualEditor/renderingengine/src/2d/math/ObservablePoint").ObservablePoint;
anchor: import("../../../../../duibaGame/renderingengine/src/2d/math/ObservablePoint").ObservablePoint;
anchorX: number;
anchorY: number;
skew: import("../../../../../../../../Users/rockyl/WorkSpaces/VisualEditor/renderingengine/src/2d/math/ObservablePoint").ObservablePoint;
skew: import("../../../../../duibaGame/renderingengine/src/2d/math/ObservablePoint").ObservablePoint;
rotation: number;
readonly worldVisible: boolean;
mask: Graphics;
......
export * from './Event';
export * from './EventDispatcher';
export * from './GDispatcher';
export * from './MouseEvent';
......@@ -13,10 +13,8 @@ export declare class TextField extends Sprite {
private _textAlign;
verticalAlign: VERTICAL_ALIGN;
private _verticalAlign;
textWidth: number;
private _textWidth;
textHeight: number;
private _textHeight;
width: number;
height: number;
lineSpacing: number;
private _lineSpacing;
lineType: TEXT_lINETYPE;
......
import { Container, Stage } from "../2d/display";
import { StackContainer } from "./StackContainer";
export declare class GameStage extends Container {
private _sceneContainer;
private _popupContainer;
private _stage;
constructor(stage: Stage);
readonly sceneContainer: StackContainer;
readonly popupContainer: StackContainer;
}
import { Container, DisplayObject } from "../2d/display";
export declare class StackContainer extends Container {
constructor();
push(view: DisplayObject): void;
replace(view: DisplayObject): void;
pop(): boolean;
popAll(view: DisplayObject): void;
}
export declare class AdjustData {
percentWidth: number;
percentHeight: number;
left: number;
top: number;
right: number;
bottom: number;
horizonCenter: number;
verticalCenter: number;
}
export declare function applyAutoAdjust(ctor: Function): void;
export declare function fieldChanged(onModify: any): (target: any, key: string) => void;
export declare const dirtyFieldDetector: (target: any, key: string) => void;
export declare const deepDirtyFieldDetector: (target: any, key: string) => void;
export declare const dirtyFieldTrigger: (target: any, key: string) => void;
export declare const deepDirtyFieldTrigger: (target: any, key: string) => void;
export * from './GameStage';
export * from './StackContainer';
export * from './shapes';
import { Shape } from "..";
declare class ShapeBase extends Shape {
protected __fieldDirty: boolean;
fillColor: any;
strokeColor: any;
strokeWidth: number;
constructor();
private onResize;
private onEnterFrame;
protected redraw(): void;
}
export declare class Rect extends ShapeBase {
borderRadius: number;
protected redraw(): void;
}
export declare class Circle extends ShapeBase {
radius: number;
protected redraw(): void;
}
export {};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment