GH_ViewportProjectY Method |
Project a value along constant Y from canvas coordinates into control coordinates.
Namespace:
Grasshopper.GUI.Canvas
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public float ProjectY(
float y
)
Public Function ProjectY (
y As Single
) As Single
Parameters
- y
- Type: SystemSingle
The constant Y value in canvas coordinates.
Return Value
Type:
SingleThe associated Y value in control pixel coordinates.
See Also