pixi.js
    Preparing search index...

    Interface NineSliceGeometryOptionsAdvanced

    Options for the NineSliceGeometry.

    interface NineSliceGeometryOptions {
        anchor?: PointData;
        bottomHeight?: number;
        height?: number;
        leftWidth?: number;
        originalHeight?: number;
        originalWidth?: number;
        rightWidth?: number;
        topHeight?: number;
        trim?: { height: number; width: number; x: number; y: number };
        width?: number;
    }
    Index

    Properties

    anchor?: PointData

    The anchor point of the NineSliceSprite.

    bottomHeight?: number

    The height of the bottom row.

    height?: number

    The height of the NineSlicePlane, setting this will actually modify the vertices and UV's of this plane.

    leftWidth?: number

    The width of the left column.

    originalHeight?: number

    The original height of the texture

    originalWidth?: number

    The original width of the texture

    rightWidth?: number

    The width of the right column.

    topHeight?: number

    The height of the top row.

    trim?: { height: number; width: number; x: number; y: number }

    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.

    null
    
    width?: number

    The width of the NineSlicePlane, setting this will actually modify the vertices and UV's of this plane.