blockly > bubbles > Bubble > positionByRect
bubbles.Bubble.positionByRect()-Methode
Positioniert die Blase "optimal" so, dass sie größtenteils sichtbar ist und das Rechteck (falls vorhanden) nicht überschneidet.
Unterschrift:
protected positionByRect(rect?: Rect): void;
Parameter
Parameter | Typ | Beschreibung |
---|---|---|
rect | Rechteck | (Optional) |
Gibt zurück:
void