Skip to main content

ApiBaseWidget

Represents the ApiBaseWidget class.

Methods

MethodReturnsDescription
DeletebooleanRemoves widget from parent field.
GetBackgroundColorApiColorGets widget background color.
GetBorderColorApiColorGets widget border color.
GetBorderStyleWidgetBorderStyleGets widget border style.
GetBorderWidthWidgetBorderWidthGets widget border width.
GetClassType"page"Returns a type of the ApiBaseWidget class.
GetPositionPointGets widget position.
GetRectRectSets field rect.
GetTextColorApiColorGets widget text color.
GetTextSizeptGets widget text size. 💡 Text size === 0 means autofit
IsAutoFitbooleanChecks if text is autofit.
SetAutoFitbooleanSets text autofit.
SetBackgroundColorbooleanSets widget background color.
SetBorderColorbooleanSets widget border color.
SetBorderStylebooleanSets widget border style.
SetBorderWidthbooleanSets widget border width.
SetPositionbooleanSets widget position.
SetRectbooleanSets field rect.
SetTextColorbooleanSets widget text color.
SetTextSizebooleanSets widget text size. 💡 Text size === 0 means autofit