GH_GraphicsUtil.ShadowRectangle Method (Graphics, Rectangle, Int32, Color)

GH_GraphicsUtilShadowRectangle Method (Graphics, Rectangle, Int32, Color)

Draws shadow edges on the interior of a rectangle.

Namespace:  Grasshopper.GUI
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static void ShadowRectangle(
	Graphics g,
	Rectangle rec,
	int size,
	Color color
)
Public Shared Sub ShadowRectangle ( 
	g As Graphics,
	rec As Rectangle,
	size As Integer,
	color As Color
)

Parameters

g
Type: System.DrawingGraphics
Graphics object to draw with.
rec
Type: System.DrawingRectangle
Bounding rectangle.
size
Type: SystemInt32
Length of cast shadow.
color
Type: System.DrawingColor
Color at edge of shadow.
See Also