types: add ITextMetrics interface
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
import { TextDecorationStyle } from '../dataset/enum/Text'
|
||||
|
||||
export interface ITextMetrics {
|
||||
width: number
|
||||
actualBoundingBoxAscent: number
|
||||
actualBoundingBoxDescent: number
|
||||
actualBoundingBoxLeft: number
|
||||
actualBoundingBoxRight: number
|
||||
fontBoundingBoxAscent: number
|
||||
fontBoundingBoxDescent: number
|
||||
}
|
||||
|
||||
export interface ITextDecoration {
|
||||
style?: TextDecorationStyle
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user