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