user: Provide the full official documentation entry for SpaceUVEditor(bpy_struct), preserving all code examples.

assistant: # SpaceUVEditor(bpy_struct)

base class — [`bpy_struct`](bpy.types.bpy_struct.html#bpy.types.bpy_struct "bpy.types.bpy_struct")

*class* bpy.types.SpaceUVEditor(*bpy_struct*)
:   UV editor data for the image editor space

    custom_grid_subdivisions
    :   Number of grid units in UV space that make one UV Unit

        Type:
        :   int array of 2 items in [1, 5000], default (10, 10)

    display_stretch_type
    :   Type of stretch to display

        - `ANGLE`
          Angle – Angular distortion between UV and 3D angles.
        - `AREA`
          Area – Area distortion between UV and 3D faces.

        Type:
        :   enum in [`'ANGLE'`, `'AREA'`], default `'ANGLE'`

    edge_display_type
    :   Display style for UV edges

        - `OUTLINE`
          Outline – Display white edges with black outline.
        - `DASH`
          Dash – Display dashed black-white edges.
        - `BLACK`
          Black – Display black edges.
        - `WHITE`
          White – Display white edges.

        Type:
        :   enum in [`'OUTLINE'`, `'DASH'`, `'BLACK'`, `'WHITE'`], default `'OUTLINE'`

    grid_shape_source
    :   Specify source for the grid shape

        - `DYNAMIC`
          Dynamic – Dynamic grid.
        - `FIXED`
          Fixed – Manually set grid divisions.
        - `PIXEL`
          Pixel – Grid aligns with pixels from image.

        Type:
        :   enum in [`'DYNAMIC'`, `'FIXED'`, `'PIXEL'`], default `'DYNAMIC'`

    lock_bounds
    :   Constraint to stay within the image bounds while editing

        Type:
        :   boolean, default False

    pixel_round_mode
    :   Round UVs to pixels while editing

        - `DISABLED`
          Disabled – Don’t round to pixels.
        - `CORNER`
          Corner – Round to pixel corners.
        - `CENTER`
          Center – Round to pixel centers.

        Type:
        :   enum in [`'DISABLED'`, `'CORNER'`, `'CENTER'`], default `'DISABLED'`

    show_faces
    :   Display faces over the image

        Type:
        :   boolean, default False

    show_grid_over_image
    :   Show the grid over the image

        Type:
        :   boolean, default True

    show_metadata
    :   Display metadata properties of the image

        Type:
        :   boolean, default False

    show_modified_edges
    :   Display edges after modifiers are applied

        Type:
        :   boolean, default False

    show_pixel_coords
    :   Display UV coordinates in pixels rather than from 0.0 to 1.0

        Type:
        :   boolean, default False

    show_stretch
    :   Display faces colored according to the difference in shape between UVs and their 3D coordinates (blue for low distortion, red for high distortion)

        Type:
        :   boolean, default False

    show_uv
    :   Display overlay of UV layer

        Type:
        :   boolean, default False

    stretch_opacity
    :   Opacity of the UV Stretch overlay

        Type:
        :   float in [0, 1], default 0.0

    tile_grid_shape
    :   How many tiles will be shown in the background

        Type:
        :   int array of 2 items in [1, 100], default (1, 1)

    use_live_unwrap
    :   Continuously unwrap the selected UV island while transforming pinned vertices

        Type:
        :   boolean, default False

    uv_face_opacity
    :   Opacity of faces in UV overlays

        Type:
        :   float in [0, 1], default 0.0

    uv_opacity
    :   Opacity of UV overlays

        Type:
        :   float in [0, 1], default 0.0

    *classmethod* bl_rna_get_subclass(*id*, *default=None*, */*)
    :   Parameters:
        :   **id** (*str*) – The RNA type identifier.

        Returns:
        :   The RNA type or default when not found.

        Return type:
        :   [`bpy.types.Struct`](bpy.types.Struct.html#bpy.types.Struct "bpy.types.Struct") subclass

    *classmethod* bl_rna_get_subclass_py(*id*, *default=None*, */*)
    :   Parameters:
        :   **id** (*str*) – The RNA type identifier.

        Returns:
        :   The class or default when not found.

        Return type:
        :   type