UNPKG
legions-thirdparty-plugin
Version:
latest (0.0.9)
0.0.9
0.0.8
常用工具类操作方法
github.com/duanguang/lerna-legion-library.git
legions-thirdparty-plugin
/
api
/
html2canvas
/
dom
/
text-container.d.ts
8 lines
(7 loc)
•
255 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
CSSParsedDeclaration
}
from
'../css/index'
;
import
{
TextBounds
}
from
'../css/layout/text'
;
export
declare
class
TextContainer
{
text
:
string
;
textBounds
:
TextBounds
[];
constructor
(
node
:
Text
,
styles
:
CSSParsedDeclaration
); }