Click or drag to resize

Overlay.ControlToOverlay Method

Transforms a given position, specified relative to the overall Insight3D control, into coordinates relative to this overlay.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public virtual ScreenOverlayPoint ControlToOverlay(
	double x,
	double y
)

Parameters

x
Type: System.Double
The horizontal position to transform.
y
Type: System.Double
The vertical position to transform.

Return Value

Type: ScreenOverlayPoint
The position relative to this overlay.
See Also