Skip to content

RectangleComponent

Property Type Description Overrides Inherited from
conditions? ConditionalStyle[] - - ComponentBase.conditions
cornerRadius? number Corner radius in template units. - -
growToHeight? boolean Stretch the component down to the bottom of its band once the band height is known, e.g. so bordered table cells line up when a neighbour grows. - ComponentBase.growToHeight
height number - - ComponentBase.height
id string Unique within the template. - ComponentBase.id
name? string Optional display name for the designer. - ComponentBase.name
style? StyleProps Inline style, applied over the named style. - ComponentBase.style
styleName? string Name of a style in template.styles. - ComponentBase.styleName
type "rectangle" - ComponentBase.type -
visible? string JavaScript expression; the component is hidden when it evaluates falsy. - ComponentBase.visible
width number - - ComponentBase.width
x number Position relative to the band’s top-left corner, in template units. - ComponentBase.x
y number - - ComponentBase.y