A door jamb or frame, especially one which is carved or decorated; (also occasionally) such a carving or decoration.
Mid 17th century; earliest use found in Edward Phillips (b. 1630), writer and biographer. From classical Latin antepagmentum (also antipagmentum, in an 8th-cent. epitome of a 2nd-cent. grammarian) facing of a door or window frame from ante- + the stem of pangere to fasten + -mentum.