.. index:: 
  !SubjectPosition Enumeration

.. _id3_face_subject_position_enum:

===============================================================================
SubjectPosition Enumeration
===============================================================================

Namespace: :ref:`id3.Face<reference_face>`

Definition
----------

.. line-block::
    Enumerates the positions of a subject in an image.

.. tab-set::

  .. tab-item:: Python
    :sync: Python

    .. code-block:: Python

      class SubjectPosition

  .. tab-item:: Dart
    :sync: Dart

    .. code-block:: Dart

      enum SubjectPosition

  .. tab-item:: C#
    :sync: C#

    .. code-block:: C#

      public enum SubjectPosition

  .. tab-item:: Java
    :sync: Java

    .. code-block:: Java

      public enum SubjectPosition

  .. tab-item:: Swift
    :sync: Swift

    .. code-block:: Swift

      public enum SubjectPosition

  .. tab-item:: C
    :sync: C

    .. code-block:: C

      typedef enum id3FaceSubjectPosition


Fields
------

.. list-table:: 
  :width: 100%
  :widths: 5 5 90
  :header-rows: 1

  * - Name
    - Value
    - Description
  * - ``undefined``
    - 0xFF
    - The position is undefined.
  * - ``correct``
    - 0x00
    - The position is correct.
  * - ``tooClose``
    - 0x01
    - The subject is too close.
  * - ``tooFar``
    - 0x02
    - The subject is too far.
  * - ``tooLeft``
    - 0x04
    - The subject is too left.
  * - ``tooRight``
    - 0x08
    - The subject is too right.
  * - ``tooHigh``
    - 0x10
    - The subject is too high.
  * - ``tooLow``
    - 0x20
    - The subject is too low.
