Skip to content
pixi-silk
GitHub repository
Interface

TextRect

import type { TextRect } from 'pixi-silk/text';

A rectangle in layout units, as rangeRects returns them.

Properties#

PropertyTypeDescriptionDefined in
heightnumber-text/layout.ts:349
linenumberLine the rectangle covers.text/layout.ts:351
widthnumber-text/layout.ts:348
xnumber-text/layout.ts:346
ynumber-text/layout.ts:347