Text this: Transition radiation from ultrarelativistic particle passing near the edge of a target