setImageMargins

Returns Banner appearance configured with horizontal image margins. Image margins are ignored for big images which are located below text block and stretched to match banner width.

Return

BannerAppearance.Builder with the specified horizontal image margins.

Parameters

imageMargins

Horizontal image margins: left margin determines image offset from left content padding, right margin determines offset between image and text block.