mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 14:29:07 +08:00
type fixes
This commit is contained in:
parent
e1853e6e8b
commit
6de50d8ffd
@ -18,7 +18,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
### Changed
|
||||
|
||||
* getKerning TextPath API is deprecated. Use "kerningFunc" instead.
|
||||
* `getKerning` TextPath API is deprecated. Use `kerningFunc` instead.
|
||||
|
||||
## [2.5.1][2018-11-08]
|
||||
|
||||
|
6
konva.d.ts
vendored
6
konva.d.ts
vendored
@ -324,9 +324,10 @@ declare namespace Konva {
|
||||
getClassName(): string;
|
||||
getClientRect(attrs?: {
|
||||
skipTransform?: boolean;
|
||||
relativeTo?: object;
|
||||
skipShadow?: boolean;
|
||||
skipStroke?: boolean;
|
||||
relativeTo?: Konva.Node;
|
||||
}): SizeConfig;
|
||||
getContent(): HTMLDivElement;
|
||||
getDepth(): number;
|
||||
getHeight(): number;
|
||||
getHitCanvas(): Canvas;
|
||||
@ -666,6 +667,7 @@ declare namespace Konva {
|
||||
setContainer(con: HTMLElement): void;
|
||||
setHeight(height: number): void;
|
||||
setWidth(width: number): void;
|
||||
getContent(): HTMLDivElement;
|
||||
}
|
||||
|
||||
interface LayerConfig extends ContainerConfig {
|
||||
|
Loading…
Reference in New Issue
Block a user