These docs are for v1.0. Click to read the latest docs for v2.0.

interface-itextwidget

Interface: ITextWidget

Hierarchy

Index

Properties

Properties

bounds

Readonly bounds: IBounds

Inherited from IWidget.bounds


capabilities

capabilities: WidgetCapabilities

Inherited from IWidgetNamespaces.capabilities


clientVisible

clientVisible: boolean

Inherited from IWidgetNamespaces.clientVisible


createdUserId

Readonly createdUserId: string

Inherited from IWidget.createdUserId


groupId

Optional Readonly groupId: undefined | string

Inherited from IWidget.groupId


id

Readonly id: string

Inherited from IWidget.id


lastModifiedUserId

Readonly lastModifiedUserId: string

Inherited from IWidget.lastModifiedUserId


metadata

metadata: WidgetMetadata

Inherited from IWidgetNamespaces.metadata


rotation

rotation: number


scale

scale: number


style

style: { backgroundColor: BackgroundColorStyle ; backgroundOpacity: BackgroundOpacityStyle ; bold: BoldStyle ; borderColor: BorderColorStyle ; borderOpacity: BorderOpacityStyle ; borderStyle: BorderStyle ; borderWidth: BorderWidthStyle ; fontFamily: FontFamily ; highlighting: HighlightingStyle ; italic: ItalicStyle ; padding: PaddingStyle ; strike: StrikeStyle ; textAlign: TextAlign ; textColor: TextColorStyle ; underline: UnderlineStyle }

Type declaration:

NameType
backgroundColorBackgroundColorStyle
backgroundOpacityBackgroundOpacityStyle
boldBoldStyle
borderColorBorderColorStyle
borderOpacityBorderOpacityStyle
borderStyleBorderStyle
borderWidthBorderWidthStyle
fontFamilyFontFamily
highlightingHighlightingStyle
italicItalicStyle
paddingPaddingStyle
strikeStrikeStyle
textAlignTextAlign
textColorTextColorStyle
underlineUnderlineStyle

text

text: string


type

type: "TEXT"

Overrides IWidget.type


width

width: number


x

x: number


y

y: number