arena-py API v1.0.1
arena .objects .arenaui_card
ArenauiCard object class to manage its properties in the ARENA: ARENAUI element which displays text and optionally an image.
Parameters
- str body: This is the text body of the card. Defaults to '' (optional)
- str bodyAlign: Body Text Alignment Allows [left, center, right, justify] Defaults to 'left' (optional)
- bool closeButton: Show close button Defaults to 'False' (optional)
- str font: Font to use for button text. Allows [Roboto, Roboto-Mono] Defaults to 'Roboto' (optional)
- float fontSize: Font Size Defaults to '0.035' (optional)
- str img: This image will be embedded alongside the body text. Defaults to '' (optional)
- str imgCaption: This will caption the image. Defaults to '' (optional)
- str imgDirection: Image Direction Allows [left, right] Defaults to 'right' (optional)
- str imgSize: Image sizing Allows [cover, contain, stretch] Defaults to 'cover' (optional)
- str materialSides: Which sides display the rendered UI material Allows [both, front] Defaults to 'both' (optional)
- float textImageRatio: Text to Image Width Ratio Defaults to '0.5' (optional)
- str theme: Color Theme Allows [light, dark] Defaults to 'light' (optional)
- str title: Title Defaults to '' (optional)
- float widthScale: Width scale multiplier Defaults to '1' (optional)
Inherited Members
Alternate name for ArenauiCard.