paddingStyle property

SurfacePadding paddingStyle
final

The padding value may be (default) passed entirely to the child, but optionally may be given to a clipper within innerSurface before rendering child, or split evenly between the two.

The effect with SurfacePadding.PAD_SURFACE can be quite neat as it adds a third customizable layer to a Surface when employed with filterStyle != SurfaceFilter.SURFACE_AND_MATERIAL.

Implementation

final SurfacePadding paddingStyle;