TextSequence(EffectSequence)

base classes — bpy_struct, Sequence, EffectSequence

class bpy.types.TextSequence(EffectSequence)

Sequence strip creating text

align_x

Align the text along the X axis, relative to the text bounds

Type

enum in [‘LEFT’, ‘CENTER’, ‘RIGHT’], default ‘LEFT’

align_y

Align the text along the Y axis, relative to the text bounds

Type

enum in [‘TOP’, ‘CENTER’, ‘BOTTOM’], default ‘TOP’

box_color
Type

float array of 4 items in [0, inf], default (0.0, 0.0, 0.0, 0.0)

box_margin

Box margin as factor of image width

Type

float in [0, 1], default 0.01

color

Text color

Type

float array of 4 items in [0, inf], default (0.0, 0.0, 0.0, 0.0)

font

Font of the text. Falls back to the UI font by default

Type

VectorFont

font_size

Size of the text

Type

int in [0, 2000], default 0

input_count
Type

int in [0, inf], default 0, (readonly)

location

Location of the text

Type

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

shadow_color
Type

float array of 4 items in [0, inf], default (0.0, 0.0, 0.0, 0.0)

text

Text that will be displayed

Type

string, default “”, (never None)

use_box

Display colored box behind text

Type

boolean, default False

use_shadow

Display shadow behind text

Type

boolean, default False

wrap_width

Word wrap width as factor, zero disables

Type

float in [0, inf], default 0.0

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions