getItemOffsets

open fun getItemOffsets(@NonNull outRect: Rect, @NonNull inspectorView: PropertyInspectorView, @NonNull parent: PropertyInspector)

Retrieve offset for the given inspector view. outRect represents inset of the inspectorView when it's drawn. This is similar to padding or margin.

Parameters

outRect

Output rectangle. (0, 0, 0, 0) when item's position doesn't need to be modified.

inspectorView

The child view to decorate

parent

PropertyInspector we are decorating.