sdfsdfs
This commit is contained in:
16
node_modules/pixi.js/lib/scene/text-bitmap/utils/getBitmapTextLayout.d.ts
generated
vendored
Normal file
16
node_modules/pixi.js/lib/scene/text-bitmap/utils/getBitmapTextLayout.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import type { TextStyle } from '../../text/TextStyle';
|
||||
import type { AbstractBitmapFont } from '../AbstractBitmapFont';
|
||||
export interface BitmapTextLayoutData {
|
||||
width: number;
|
||||
height: number;
|
||||
scale: number;
|
||||
offsetY: number;
|
||||
lines: {
|
||||
width: number;
|
||||
charPositions: number[];
|
||||
chars: string[];
|
||||
spaceWidth: number;
|
||||
spacesIndex: number[];
|
||||
}[];
|
||||
}
|
||||
export declare function getBitmapTextLayout(chars: string[], style: TextStyle, font: AbstractBitmapFont<any>, trimEnd: boolean): BitmapTextLayoutData;
|
Reference in New Issue
Block a user