interface Rel {
    oldId: number;
    thisId: number;
    x: number;
    y: number;
}

Properties

Properties

oldId: number

The ID number of the current pixel. Reccommended if performance profiling shows string comparision is a bottleneck.

thisId: number

The ID of the element for which this is being called. (in a ElementDataUnknown.liveCell that's the same as Rel.oldId, but in a ElementDataUnknown.deadCell it's the id that the deadCell belongs to.

x: number

The X location of this pixel.

y: number

The Y location of this pixel.