# Class GearJointDef

java.lang.Object
com.codename1.gaming.physics.box2d.dynamics.joints.JointDef
com.codename1.gaming.physics.box2d.dynamics.joints.GearJointDef

public class GearJointDef extends JointDef

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `Joint`
  `joint1`
  `Joint`
  `joint2`
  `float`
  `ratio`

  ### Fields inherited from class JointDef

  `bodyA, bodyB, collideConnected, type, userData`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GearJointDef()`

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### joint1

    public Joint joint1

  - ### joint2

    public Joint joint2

  - ### ratio

    public float ratio

- ## Constructor Details

  - ### GearJointDef

    public GearJointDef()