11import * as Inputs from "../inputs" ;
2+ import * as Models from "../models" ;
23import { defaultsVectorParams } from "../models/simplex" ;
34import { Point } from "./point" ;
45
@@ -103,7 +104,7 @@ export class TextBitByBit {
103104 * @shortname vector char
104105 * @drawable false
105106 */
106- vectorChar ( inputs : Inputs . Text . VectorCharDto ) : Inputs . Text . VectorCharResultDto {
107+ vectorChar ( inputs : Inputs . Text . VectorCharDto ) : Models . Text . VectorCharData {
107108 const {
108109 xOffset, yOffset, font, input, height, extrudeOffset
109110 } = this . vectorParamsChar ( inputs ) ;
@@ -142,7 +143,7 @@ export class TextBitByBit {
142143 * @shortname vector text
143144 * @drawable false
144145 */
145- vectorText ( inputs : Inputs . Text . VectorTextDto ) : Inputs . Text . VectorTextResultDto [ ] {
146+ vectorText ( inputs : Inputs . Text . VectorTextDto ) : Models . Text . VectorTextData [ ] {
146147 const {
147148 xOffset, yOffset, height, align, extrudeOffset, lineSpacing, letterSpacing
148149 } = Object . assign ( { } , defaultsVectorParams , inputs ) ;
@@ -155,7 +156,7 @@ export class TextBitByBit {
155156
156157 // manage the list of lines
157158 let maxWidth = 0 ; // keep track of max width for final alignment
158- type Line = { width : number , height : number , chars : Inputs . Text . VectorCharResultDto [ ] } ;
159+ type Line = { width : number , height : number , chars : Models . Text . VectorCharData [ ] } ;
159160 let line : Line = { width : 0 , height : 0 , chars : [ ] } ;
160161 let lines : Line [ ] = [ ] ;
161162
0 commit comments