GH_GraphicsUtilEtchFadingHorizontal Method |
Draw an etched line with fading on the extremes.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static void EtchFadingHorizontal(
Graphics g,
int x0,
int x1,
int y,
int alphaLight = 200,
int alphaDark = 35
)
Public Shared Sub EtchFadingHorizontal (
g As Graphics,
x0 As Integer,
x1 As Integer,
y As Integer,
Optional alphaLight As Integer = 200,
Optional alphaDark As Integer = 35
)
Parameters
- g
- Type: System.DrawingGraphics
Graphics object to draw with. - x0
- Type: SystemInt32
Left x coordinate of etch. - x1
- Type: SystemInt32
Right x coordinate of etch. - y
- Type: SystemInt32
Y coordinate of etch. - alphaLight (Optional)
- Type: SystemInt32
Transparancy of bright etch line. - alphaDark (Optional)
- Type: SystemInt32
Transparency of dark etch line.
See Also