SerializedPropertyAdaptor.DrawItemBackground Method

Rotorz ReorderableList

SerializedPropertyAdaptorDrawItemBackground Method
Draws background of a list item.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
public virtual void DrawItemBackground(
	Rect position,
	int index
)
public virtual function DrawItemBackground(
	position : Rect,
	index : int
)

Parameters

position
Type: Rect
Total position of list element in GUI.
index
Type: SystemInt32
Zero-based index of array element.

Implements

IReorderableListAdaptorDrawItemBackground(Rect, Int32)
Remarks

This method is only used to handle GUI repaint events.

Background of list item spans a slightly larger area than the main interface that is drawn by DrawItem(Rect, Int32) since it is drawn behind the grab handle.

See Also