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
Shapeevent info for propagatedNEWTEvents containing reference ofthe intended shapeas well as therotated relative positionto this shape. The latter is normalized to bottom-left zero origin, allowing easier usage.
-
-
Field Summary
Fields Modifier and Type Field Description com.jogamp.math.Vec2fobjDragThe drag delta of the relative object coordinate of glWinX/glWinY to the associatedShape.com.jogamp.math.Vec3fobjPosThe relative object coordinate of glWinX/glWinY to the associatedShape.ShapeshapeThe associatedShapefor this eventint[]winDragThe drag delta of GL window coordinates, origin bottom-leftint[]winPosThe GL window coordinates, origin bottom-left
-
-
-
Field Detail
-
objPos
public final com.jogamp.math.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 com.jogamp.math.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
-
-