OverlayOverlayToControl Method |
Transforms a given position, specified relative to the overlay, into coordinates relative to the overall
Insight3D control.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public virtual ScreenOverlayPoint OverlayToControl(
double x,
double y
)
Public Overridable Function OverlayToControl (
x As Double,
y As Double
) As ScreenOverlayPoint
public:
virtual ScreenOverlayPoint OverlayToControl(
double x,
double y
)
abstract OverlayToControl :
x : float *
y : float -> ScreenOverlayPoint
override OverlayToControl :
x : float *
y : float -> ScreenOverlayPoint
Parameters
- x
- Type: SystemDouble
The horizontal position to transform. - y
- Type: SystemDouble
The vertical position to transform.
Return Value
Type:
ScreenOverlayPoint
The position relative to the overall control.
See Also