# Deprecated API

## Contents

- Deprecated Fields
- Deprecated Methods

- Deprecated Fields
  Field and Description
  processing.core.PConstants.DISABLE_NATIVE_FONTS
  processing.core.PConstants.ENABLE_NATIVE_FONTS
  processing.core.PApplet.firstMouse Please refrain from using this variable, it will be removed from future releases of Processing because it cannot be used consistently across platforms and input methods.
  processing.core.PApplet.keyEvent Use a key event handler that passes an event instead.
  processing.core.PApplet.mouseEvent Use a mouse event handler that passes an event instead.
  processing.core.PConstants.OPENGL
  processing.core.PConstants.QUAD_BEZIER_VERTEX

- Deprecated Methods
  Method and Description
  processing.core.PApplet.arraycopy(Object, int, Object, int, int) Use arrayCopy() instead.
  processing.core.PApplet.arraycopy(Object, Object) Use arrayCopy() instead.
  processing.core.PApplet.arraycopy(Object, Object, int) Use arrayCopy() instead.
  processing.core.PVector.get()
  processing.event.MouseEvent.getAmount()
  processing.event.MouseEvent.getClickCount()
  processing.core.PFont.getFont()
  processing.core.PImage.getImage()
  processing.app.syntax.JEditTextArea.getScrollPosition() Use `JEditTextArea.getVerticalScrollPosition()`.
  processing.core.PVector.heading2D()
  processing.core.PImage.mask(int[])
  processing.data.Table.removeTitleRow()
  processing.app.syntax.JEditTextArea.setScrollPosition(int) Use `JEditTextArea.setVerticalScrollPosition(int)`.