TextCurve(Curve)¶
base classes — bpy_struct
, ID
, Curve
-
class
bpy.types.
TextCurve
(Curve)¶ Curve data-block used for storing text
-
active_textbox
¶ Type: int in [-inf, inf], default 0
-
align
¶ Text align from the object center
LEFT
Left, Align text to the left.CENTER
Center, Center text.RIGHT
Right, Align text to the right.JUSTIFY
Justify, Align to the left and the right.FLUSH
Flush, Align to the left and the right, with equal character spacing.
Type: enum in [‘LEFT’, ‘CENTER’, ‘RIGHT’, ‘JUSTIFY’, ‘FLUSH’], default ‘LEFT’
-
body
¶ Content of this text object
Type: string, default “”, (never None)
-
body_format
¶ Stores the style of each character
Type: bpy_prop_collection
ofTextCharacterFormat
, (readonly)
-
edit_format
¶ Editing settings character formatting
Type: TextCharacterFormat
, (readonly)
-
family
¶ Use Objects as font characters (give font objects a common name followed by the character they represent, eg. ‘family_a’, ‘family_b’, etc, set this setting to ‘family_‘, and turn on Vertex Duplication)
Type: string, default “”, (never None)
-
font
¶ Type: VectorFont
-
font_bold
¶ Type: VectorFont
-
font_bold_italic
¶ Type: VectorFont
-
font_italic
¶ Type: VectorFont
-
offset_x
¶ Horizontal offset from the object origin
Type: float in [-50, 50], default 0.0
-
offset_y
¶ Vertical offset from the object origin
Type: float in [-50, 50], default 0.0
-
shear
¶ Italic angle of the characters
Type: float in [-1, 1], default 0.0
-
size
¶ Type: float in [0.0001, 10000], default 0.0
-
small_caps_scale
¶ Scale of small capitals
Type: float in [-inf, inf], default 0.0
-
space_character
¶ Type: float in [0, 10], default 0.0
-
space_line
¶ Type: float in [0, 10], default 0.0
-
space_word
¶ Type: float in [0, 10], default 0.0
-
text_boxes
¶ Type: bpy_prop_collection
ofTextBox
, (readonly)
-
underline_height
¶ Type: float in [0, 0.8], default 0.0
-
underline_position
¶ Vertical position of underline
Type: float in [-0.2, 0.8], default 0.0
-
use_fast_edit
¶ Don’t fill polygons while editing
Type: boolean, default False
-
use_uv_as_generated
¶ Uses the UV values as Generated textured coordinates
Type: boolean, default False
-
Inherited Properties
Inherited Functions