Interface: NineSliceGeometryOptions
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:8
Options for the NineSliceGeometry.
Advanced
Properties
anchor?
> optional anchor?: PointData
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:26
The anchor point of the NineSliceSprite.
bottomHeight?
> optional bottomHeight?: number
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:24
The height of the bottom row.
height?
> optional height?: number
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:12
The height of the NineSlicePlane, setting this will actually modify the vertices and UV's of this plane.
leftWidth?
> optional leftWidth?: number
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:18
The width of the left column.
originalHeight?
> optional originalHeight?: number
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:16
The original height of the texture
originalWidth?
> optional originalWidth?: number
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:14
The original width of the texture
rightWidth?
> optional rightWidth?: number
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:22
The width of the right column.
topHeight?
> optional topHeight?: number
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:20
The height of the top row.
trim?
> optional trim?: { height: number; width: number; x: number; y: number; } | null
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:34
The trim rectangle of the texture, describing the offset and size of the visible pixel area within the original (unpadded) frame. When provided, UV coordinates are clamped to the trimmed region so that transparent padding in the atlas does not bleed into the rendered corners/edges.
Default
null
width?
> optional width?: number
Defined in: node_modules/pixi.js/lib/scene/sprite-nine-slice/NineSliceGeometry.d.ts:10
The width of the NineSlicePlane, setting this will actually modify the vertices and UV's of this plane.