Which preposition to use with margined

with Occurrences 15%

The female is yellow, or orange-brown, the feathers in like manner being margined with black.

at Occurrences 1%

Neither is it like the Hudson, margined at one spot by the meadow and the village, and overhung at another by threatening precipices and stupendous mountains.

Which preposition to use with  margined