GeometryNodeStringToCurves(GeometryNode)¶
base classes — bpy_struct, Node, NodeInternal, GeometryNode
- class bpy.types.GeometryNodeStringToCurves(GeometryNode)¶
Generate a paragraph of text with a specific font, using a curve instance to store each character
- align_x¶
Text horizontal alignment from the object or text box center
LEFTLeft – Align text to the left.CENTERCenter – Align text to the center.RIGHTRight – Align text to the right.JUSTIFYJustify – Align text to the left and the right.FLUSHFlush – Align text to the left and the right, with equal character spacing.
- Type:
enum in [‘LEFT’, ‘CENTER’, ‘RIGHT’, ‘JUSTIFY’, ‘FLUSH’], default ‘LEFT’
- align_y¶
Text vertical alignment from the object center
TOPTop – Align text to the top.TOP_BASELINETop Baseline – Align text to the top line’s baseline.MIDDLEMiddle – Align text to the middle.BOTTOM_BASELINEBottom Baseline – Align text to the bottom line’s baseline.BOTTOMBottom – Align text to the bottom.
- Type:
enum in [‘TOP’, ‘TOP_BASELINE’, ‘MIDDLE’, ‘BOTTOM_BASELINE’, ‘BOTTOM’], default ‘TOP_BASELINE’
- font¶
Font of the text. Falls back to the UI font by default.
- Type:
- overflow¶
Handle the text behavior when it doesn’t fit in the text boxes
OVERFLOWOverflow – Let the text use more space than the specified height.SCALE_TO_FITScale To Fit – Scale the text size to fit inside the width and height.TRUNCATETruncate – Only output curves that fit within the width and height. Output the remainder to the “Remainder” output..
- Type:
enum in [‘OVERFLOW’, ‘SCALE_TO_FIT’, ‘TRUNCATE’], default ‘OVERFLOW’
- pivot_mode¶
Pivot point position relative to character
MIDPOINTMidpoint – Midpoint.TOP_LEFTTop Left – Top Left.TOP_CENTERTop Center – Top Center.TOP_RIGHTTop Right – Top Right.BOTTOM_LEFTBottom Left – Bottom Left.BOTTOM_CENTERBottom Center – Bottom Center.BOTTOM_RIGHTBottom Right – Bottom Right.
- Type:
enum in [‘MIDPOINT’, ‘TOP_LEFT’, ‘TOP_CENTER’, ‘TOP_RIGHT’, ‘BOTTOM_LEFT’, ‘BOTTOM_CENTER’, ‘BOTTOM_RIGHT’], default ‘BOTTOM_LEFT’
- classmethod is_registered_node_type()¶
True if a registered node type
- Returns:
Result
- Return type:
boolean
- classmethod input_template(index)¶
Input socket template
- Parameters:
index (int in [0, inf]) – Index
- Returns:
result
- Return type:
- classmethod output_template(index)¶
Output socket template
- Parameters:
index (int in [0, inf]) – Index
- Returns:
result
- Return type:
- 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.Structsubclass
- 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
Inherited Properties¶
Inherited Functions¶
|