mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
fix yfiles/yfiles-tests.ts
This commit is contained in:
@@ -139,6 +139,9 @@ module yfilesTest {
|
||||
}
|
||||
|
||||
class MyNodeStyle extends yfiles.drawing.SimpleAbstractNodeStyle<yfiles.drawing.RectVisual> {
|
||||
constructor() {
|
||||
super(null);
|
||||
}
|
||||
createVisual(node:yfiles.graph.INode, renderContext:yfiles.drawing.IRenderContext):yfiles.drawing.RectVisual {
|
||||
return new yfiles.drawing.RectVisual.FromRectangle(new yfiles.geometry.Rectangle(0, 0, 10, 10));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user