Interface SliceKey

A slice key defining the slice rectangle in a specific frame.

interface SliceKey {
    bounds: Rectangle;
    center?: Rectangle;
    frame: number;
    pivot?: Point;
}

Properties

bounds: Rectangle

The outer slice bounds within the frame.

center?: Rectangle

Optional rectangle within the slice defining the center area of a nine-patch slice.

frame: number

The frame number.

pivot?: Point

Optional pivot point within the slice.

Generated using TypeDoc