DrawingTextObject

Documentation of Synapse Z DrawingTextObject class

FieldTypeDescription
__OBJECT_EXISTSboolwhenever the drawing object exists or not
__OBJECT_TYPEstringthe type of the drawing object
Visibleboolwhenever the drawing object is rendered or not
ZIndexnumberpriority of the drawing object renderer
Transparencynumbernumber between 0 and 1 where 0 is fully visible, 1 is fully invisible
Opacitynumbernumber between 0 and 1 where 0 is fully invisible, 1 is fully visible
ColorColor3the color of the drawing object
Centeredboolwhenever the drawing text is centered or not
Outlinedboolwhenever the drawing text is outlined or not
FontSizenumbersize of the font used by this drawing object
Fontnumberfont id used by this drawing object
PositionVector2position of the drawing object
OutlineColorColor3color of the text outline
Textstringthe drawing object text

DrawingTextObject:Remove

void DrawingTextObject:Remove()

removes the drawing object from drawing object list