![]() |
ImFusion C++ SDK 4.5.0
|
#include <ImFusion/GUI/View.h>
Record for specifying if and how to render a border frame surrounding the view. More...
Record for specifying if and how to render a border frame surrounding the view.
Public Attributes | |
| bool | isVisible = false |
| Flag whether to render the border frame or not. | |
| bool | fillCorners = false |
| Flag whether to fill outside a rounded corner if borderRadius > 0. | |
| int | borderWidth = 1 |
| Width of the border frame in px. | |
| int | borderRadius = 0 |
| Radius of rounded corners in px, use 0 to disable rounded corners. | |
| vec3 | borderColor = vec3::Ones() |
| Render color of the border frame. | |
| int | marginWidth = 1 |
| Number of px of extra empty space around the frame in each direction. | |
| std::optional< vec3 > | marginColor |
| Optional separate render color of the margin. | |