disguise developers

Designer Plugins

Plugins for Disguise Designer software.

TextModule

Base class: Module

Properties

font : TextFont

Use default font or load .ttf font file in /objects/textfonts

UserName: Font

fontSize : int

Size of the text (in pixel)

UserName: Font size

hAlignment : int

Horizontal alignment for text

Options: {0: ‘Left’, 1: ‘Center’, 2: ‘Right’}
UserName: Horizontal alignment

text : str

Text to display

UserName: Text

vAlignment : int

Vertical alignment for text

Options: {0: ‘Top’, 1: ‘Center’, 2: ‘Bottom’}
UserName: Vertical alignment

xPosition : int

Horizontal position offset from alignment (in pixel)

UserName: Position X

yPosition : int

Vertical position offset from alignment (in pixel)

UserName: Position Y

Constructors

__init__(self)