Interface: Rescaler
Defined in: composition-openapi/dist/index.d.ts:1319
Export​
Rescaler
Properties​
borderColor?​
optionalborderColor:null|string
Defined in: composition-openapi/dist/index.d.ts:1432
(default="#00000000") Border color in a "#RRGGBBAA" format.
Memberof​
Rescaler
borderRadius?​
optionalborderRadius:null|number
Defined in: composition-openapi/dist/index.d.ts:1420
(default=0.0) Radius of a rounded corner.
Memberof​
Rescaler
borderWidth?​
optionalborderWidth:null|number
Defined in: composition-openapi/dist/index.d.ts:1426
(default=0.0) Border width.
Memberof​
Rescaler
bottom?​
optionalbottom:null|number
Defined in: composition-openapi/dist/index.d.ts:1392
Distance in pixels between the bottom edge of this component and the bottom edge of its parent (including a border). If this field is defined, this element will be absolutely positioned, instead of being laid out by its parent.
Memberof​
Rescaler
boxShadow?​
optionalboxShadow:null|BoxShadow[]
Defined in: composition-openapi/dist/index.d.ts:1438
List of box shadows.
Memberof​
Rescaler
child​
child:
Component
Defined in: composition-openapi/dist/index.d.ts:1331
List of component's children.
Memberof​
Rescaler
height?​
optionalheight:null|number
Defined in: composition-openapi/dist/index.d.ts:1369
Height of a component in pixels (without a border). Exact behavior might be different based on the parent component:
- If the parent component is a layout, check sections "Absolute positioning" and "Static positioning" of that component.
- If the parent component is not a layout, then this field is required.
Memberof​
Rescaler
horizontalAlign?​
optionalhorizontalAlign:null|HorizontalAlign
Defined in: composition-openapi/dist/index.d.ts:1343
(default="center") Horizontal alignment.
Memberof​
Rescaler
id?​
optionalid:null|string
Defined in: composition-openapi/dist/index.d.ts:1325
Id of a component.
Memberof​
Rescaler
left?​
optionalleft:null|number
Defined in: composition-openapi/dist/index.d.ts:1384
Distance in pixels between this component's left edge and its parent's left edge (including a border). If this field is defined, this element will be absolutely positioned, instead of being laid out by its parent.
Memberof​
Rescaler
mode?​
optionalmode:null|RescaleMode
Defined in: composition-openapi/dist/index.d.ts:1337
(default="fit") Resize mode:
Memberof​
Rescaler
right?​
optionalright:null|number
Defined in: composition-openapi/dist/index.d.ts:1400
Distance in pixels between this component's right edge and its parent's right edge. If this field is defined, this element will be absolutely positioned, instead of being laid out by its parent.
Memberof​
Rescaler
rotation?​
optionalrotation:null|number
Defined in: composition-openapi/dist/index.d.ts:1407
Rotation of a component in degrees. If this field is defined, this element will be absolutely positioned, instead of being laid out by its parent.
Memberof​
Rescaler
top?​
optionaltop:null|number
Defined in: composition-openapi/dist/index.d.ts:1376
Distance in pixels between this component's top edge and its parent's top edge (including a border). If this field is defined, then the component will ignore a layout defined by its parent.
Memberof​
Rescaler
transition?​
optionaltransition:null|Transition
Defined in: composition-openapi/dist/index.d.ts:1414
Defines how this component will behave during a scene update. This will only have an
effect if the previous scene already contained a Rescaler component with the same id.
Memberof​
Rescaler
type​
type:
"rescaler"
Defined in: composition-openapi/dist/index.d.ts:1444
Memberof​
Rescaler
verticalAlign?​
optionalverticalAlign:null|VerticalAlign
Defined in: composition-openapi/dist/index.d.ts:1349
(default="center") Vertical alignment.
Memberof​
Rescaler
width?​
optionalwidth:null|number
Defined in: composition-openapi/dist/index.d.ts:1359
Width of a component in pixels (without a border). Exact behavior might be different based on the parent component:
- If the parent component is a layout, check sections "Absolute positioning" and "Static positioning" of that component.
- If the parent component is not a layout, then this field is required.
Memberof​
Rescaler