java.lang.Object | ||
↳ | com.pspdfkit.ui.inspector.PropertyInspector.ItemDecoration | |
↳ | com.pspdfkit.ui.inspector.views.PropertyInspectorDividerDecoration |
PropertyInspector
decoration providing simple dividers between items.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PropertyInspectorDividerDecoration(Context context)
Creates divider decoration with divider defined by theme attribute
?listDivider . | |||||||||||
PropertyInspectorDividerDecoration(Context context, AttributeSet attrs)
Creates divider decoration with divider defined by theme attribute
?listDivider . | |||||||||||
PropertyInspectorDividerDecoration(Drawable dividerDrawable)
Creates divider decoration with divider defined by drawable.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
getItemOffsets(Rect outRect, PropertyInspectorView inspectorView, PropertyInspector parent)
Retrieve offset for the given inspector view.
| ||||||||||
void |
onDrawOver(Canvas canvas, PropertyInspector parent)
Draw any appropriate decorations into the Canvas supplied to the
PropertyInspector . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates divider decoration with divider defined by theme attribute ?listDivider
.
context | The context to obtain theme attributes from. |
---|
Creates divider decoration with divider defined by theme attribute ?listDivider
.
context | The context to obtain theme attributes from. |
---|---|
attrs | The base set of attribute values. May be null. |
Creates divider decoration with divider defined by drawable.
Retrieve offset for the given inspector view. outRect
represents inset of the
inspectorView
when it's drawn. This is similar to padding or margin.
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.
|
Draw any appropriate decorations into the Canvas supplied to the PropertyInspector
. This method will draw over already drawn inspector views.
canvas | Canvas to draw into |
---|---|
parent | PropertyInspector we are drawing onto.
|