Click or drag to resize

GH_GraphicsUtilRenderWarningIcon Method

Render a typical warning icon into a graphics context. A warning icon is an upright yellow triangle.

Namespace:  Grasshopper.GUI
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static void RenderWarningIcon(
	Graphics graphics,
	PointF center,
	float radius,
	int alpha
)

Parameters

graphics
Type: System.DrawingGraphics
Graphics object to draw with.
center
Type: System.DrawingPointF
Center of icon.
radius
Type: SystemSingle
Radius of icon.
alpha
Type: SystemInt32
Transparency of icon.
See Also