Class WidthOnlyAdjustableGeometryInternal

Contains geometrical information about the item, such as its width or rotation. You can only specify the width of the text item as the height is dynamically updated based on the content.

Hierarchy

  • WidthOnlyAdjustableGeometry

Constructors

Properties

Constructors

Properties

rotation?: number

Rotation angle of an item, in degrees, relative to the board. You can rotate items clockwise (right) and counterclockwise (left) by specifying positive and negative values, respectively.

width?: number

Width of the item, in pixels. The minimum width of a text widget is relative to the font size of the text widget. The width must be at least 1.7 times wider than the font size. For example, if the font size of the text item is 14, the minimum width is 24.