-
Notifications
You must be signed in to change notification settings - Fork 0
3.7.2 Latex
Jonas de Luna Skulberg edited this page Oct 15, 2023
·
2 revisions
-
text?: string
Text string to display.
-
position?: InputPosition
Component position. -
color?: string
Text color. -
fontSize?: number
Text fontsize. -
anchorY?: "top" | "middle" | "bottom"
Text anchor Y. -
anchorX?: "left" | "center" | "right"
Text anchor X. -
draggable?: Draggable
Whether the component should be draggable.
position = [0, 0],
color = "black",
fontSize = 50,
anchorX = "left",
anchorY = "bottom",
draggable = undefined,
collidesWith(other: Object3D): boolean
distanceTo(other: Object3D<Event>): number
-
setPosition(position: InputPosition): void
Set the component position.