IGH_ZuiAction

References
Represents a single action which is only visible on screen above a certain zoom level.

Properties

Name

#
string Name { get; }
Gets the display name for this action. Keep it short and sweet.

TooltipEnabled

bool TooltipEnabled { get; }
Gets the tooltip enabled value. If False, no further tooltip functions will be called.
inherited fromIGH_TooltipAwareObject

Methods

IsTooltipRegion

bool IsTooltipRegion(PointF canvasPoint)
Determine whether the specified pixel should result in a tooltip when the cursor hovers over it.
inherited fromIGH_TooltipAwareObject
canvasPoint (PointF)Point in Canvas coordinates.

Perform

#
void Perform()
This method will be called when the action needs to be performed.

SetupTooltip

void SetupTooltip(PointF canvasPoint, GH_TooltipDisplayEventArgs e)
This function is called when a tooltip it about to be displayed.
inherited fromIGH_TooltipAwareObject
canvasPoint (PointF)The pixel coordinate on the canvas of the cursor.
e (GH_TooltipDisplayEventArgs)Tooltip display arguments.