Package com.jogamp.graph.ui
Class Shape.EventInfo
- java.lang.Object
-
- com.jogamp.graph.ui.Shape.EventInfo
-
- Enclosing class:
- Shape
public static class Shape.EventInfo extends Object
Shape
event info for propagatedNEWTEvent
s containing reference ofthe intended shape
as well as therotated relative position
to this shape. The latter is normalized to bottom-left zero origin, allowing easier usage.
-
-
Field Summary
Fields Modifier and Type Field Description Vec2f
objDrag
The drag delta of the relative object coordinate of glWinX/glWinY to the associatedShape
.Vec3f
objPos
The relative object coordinate of glWinX/glWinY to the associatedShape
.Shape
shape
The associatedShape
for this eventint[]
winDrag
The drag delta of GL window coordinates, origin bottom-leftint[]
winPos
The GL window coordinates, origin bottom-left
-
-
-
Field Detail
-
objPos
public final Vec3f objPos
The relative object coordinate of glWinX/glWinY to the associatedShape
.
-
winPos
public final int[] winPos
The GL window coordinates, origin bottom-left
-
objDrag
public final Vec2f objDrag
The drag delta of the relative object coordinate of glWinX/glWinY to the associatedShape
.
-
winDrag
public final int[] winDrag
The drag delta of GL window coordinates, origin bottom-left
-
-