The answer would be contact metamorphism.
(The picture is attached below, hopefully that is the image you were referring to)
Contact metamorphism is a type of metamorphism where the change in the texture and minerals of the rocks are caused by heat from contact with magma. this usually occurs around an intrusive igneous rocks.