disguise developers

Designer Plugins

Plugins for Disguise Designer software.

SlugFont

Base class: _BlipValue

Properties

alignH : int

alignV : int

bold : bool (Read-Only)

fontSize : float

height : float (Read-Only)

italic : bool (Read-Only)

leadedLineHeight : float (Read-Only)

leading : float

lineHeight : float (Read-Only)

maxHeightInPixels : float (Read-Only)

maxWidthInPixels : float (Read-Only)

tracking : float

Variables

AlignBottom : Final = 2

AlignCenter : Final = 1

AlignLeft : Final = 0

AlignMiddle : Final = 1

AlignRight : Final = 2

AlignTop : Final = 0

Methods

extent(self, s: str, arg1: float = 0) -> Vec2

extentHeight(self, nLines: int) -> float

printAndRender(self, text: str, pos: Vec, arg2: Colour = Colour.white, arg3: int = 0, arg4: bool = True)

printDynamic(self, text: str, pos: Vec, pixelSize: float, arg3: Colour = Colour.white, arg4: int = 0, arg5: int = 0, arg6: float = 0.0, arg7: float = 1.2)

truncateMiddle(self, inputString: str, targetWidth: float, endChars: int, arg3: int) -> str

truncateToWidth(self, inputString: str, targetWidth: float) -> str