Contents

displayPadding

Returns the size of the extra padding added to any drawing layer used to rasterize the text. For example when drawing the text with a shadow this may be used to extend the drawing bounds to avoid clipping the shadow.

Declaration

var displayPadding: EdgeInsets { get }

Discussion

The default implementation of this function returns an empty set of insets.