SpaceImageEditor(Space)

base classes — bpy_struct, Space

class bpy.types.SpaceImageEditor(Space)

Image and UV editor space data

cursor_location

2D cursor location for this view

Type :float array of 2 items in [-inf, inf], default (0.0, 0.0)
curve

Color curve mapping to use for displaying the image

Type :CurveMapping, (readonly)
draw_channels

Channels of the image to draw

  • COLOR Color, Draw image with RGB colors.
  • COLOR_ALPHA Color and Alpha, Draw image with RGB colors and alpha transparency.
  • ALPHA Alpha, Draw alpha transparency channel.
  • Z_BUFFER Z-Buffer, Draw Z-buffer associated with image (mapped from camera clip start to end).
Type :enum in [‘COLOR’, ‘COLOR_ALPHA’, ‘ALPHA’, ‘Z_BUFFER’], default ‘COLOR’
grease_pencil

Grease pencil data for this space

Type :GreasePencil
image

Image displayed and edited in this space

Type :Image
image_user

Parameters defining which layer, pass and frame of the image is displayed

Type :ImageUser, (readonly, never None)
mask

Mask displayed and edited in this space

Type :Mask
mask_draw_type

Draw type for mask splines

  • OUTLINE Outline, Draw white edges with black outline.
  • DASH Dash, Draw dashed black-white edges.
  • BLACK Black, Draw black edges.
  • WHITE White, Draw white edges.
Type :enum in [‘OUTLINE’, ‘DASH’, ‘BLACK’, ‘WHITE’], default ‘OUTLINE’
mode

Editing context being displayed

  • VIEW View, View the image and UV edit in mesh editmode.
  • PAINT Paint, 2D image painting mode.
  • MASK Mask, Mask editing.
Type :enum in [‘VIEW’, ‘PAINT’, ‘MASK’], default ‘VIEW’
pivot_point

Rotation/Scaling Pivot

Type :enum in [‘CENTER’, ‘MEDIAN’, ‘CURSOR’], default ‘CENTER’
sample_histogram

Sampled colors along line

Type :Histogram, (readonly)
scopes

Scopes to visualize image statistics

Type :Scopes, (readonly)
show_mask_smooth
Type :boolean, default False
show_maskedit

Show Mask editing related properties

Type :boolean, default False, (readonly)
show_paint

Show paint related properties

Type :boolean, default False, (readonly)
show_render

Show render related properties

Type :boolean, default False, (readonly)
show_repeat

Draw the image repeated outside of the main view

Type :boolean, default False
show_uvedit

Show UV editing related properties

Type :boolean, default False, (readonly)
use_image_pin

Display current image regardless of object selection

Type :boolean, default False
use_realtime_update

Update other affected window spaces automatically to reflect changes during interactive operations such as transform

Type :boolean, default False
uv_editor

UV editor settings

Type :SpaceUVEditor, (readonly, never None)
zoom

Zoom factor

Type :float array of 2 items in [-inf, inf], default (0.0, 0.0), (readonly)

Inherited Properties

Inherited Functions

Previous topic

SpaceGraphEditor(Space)

Next topic

SpaceInfo(Space)