IGH_ListItem

References
public interface IGH_ListItem
Represents a single entry in a StringList

Properties

BoundingBox

#
Gets or sets the BoundingBox for this item. BoundingBoxes are assigned and retrieved by the GH_StringList class only. It's just convenient to store them on List Items directly.
Rectangle BoundingBox { get; set; }

Methods

ComputeSize

#
Compute the size of this item as a function of layout dimensions.
Size ComputeSize(
layoutWidth
)
The width and height as dictated by the item properties.

RenderItem

#
Render this item into the specified destination rectangle.
void RenderItem(
G,
Graphics objects to draw with.
Rectangle
destination
Layout rectangle for this item.
)