Skip to content

fontlab.flSticker · declarations 001

Back to fontlab.flSticker

boundingBox instance-attribute

boundingBox: Any

QRectF boundingBox()

The full bounding box of the sticker on the canvas, including any visual padding around the text.

Source: FontLab Proteus API documentation

move

move(arg0: QPointF) -> Any

move(QPointF)

Moves the sticker to a new position on the canvas. The position is in canvas (glyph) coordinates. Calling this repositions the sticker without changing its attached shape.

Source: FontLab Proteus API documentation

shape instance-attribute

shape: Any

flShape shape()

The shape this sticker is attached to. Read-only — the attachment is set when you add the sticker to a shape.

Source: FontLab Proteus API documentation

text instance-attribute

text: Any

QString

The text displayed in the sticker box. Keep it short — stickers are designed for brief labels. Longer text will make the sticker box grow but can look cluttered on the canvas.

Source: FontLab Proteus API documentation

textRect instance-attribute

textRect: Any

QRectF

The bounding rectangle of the sticker's text area in canvas coordinates. Set this to reposition and resize the sticker box precisely. Reading this tells you where the sticker currently sits.

Source: FontLab Proteus API documentation