/ HALion Developer Resource / HALion Macro Page / Resources /
Decor (Resource)
(Since HALion 7.0)
Description
This resource allows you to specify rectangular shapes as graphical elements to create background frames, group frames, etc. The rectangular shape can be drawn as an outline, filled, or both. The fill style can either be a solid color, a linear gradient, or a radial gradient. Furthermore, the rectangle can have rounded corners with an adjustable radius. Decor resources can be assigned in all controls that make use of bitmap resources.
Properties
Poperty | Description |
---|---|
Name | The name of the Decor resource. |
Size | Here, you can specify the initial width and height of the rectangle. If the control in which the decor is used is set to be scalable, the size of the decor is adapted accordingly. |
Fill Style | Decors can be filled. You can choose from the following fill styles:
|
Radius | Specifies the roundness of the rectangle corners. |
Line Width | Specifies the width of the outline. |
Angle | Specifies the angle of the Linear Gradient fill style in degrees. |
Stretch | Allows you to compress (values < 1.0) or expand (values > 1.0) the Linear Gradient or Radial Gradient. |
Center X/Y | Specifies the center of the Radial Gradient. Negative values move the center to the left and top, postive values to the right and bottom. |
Line Color | Defines the color of the outline. |
Color | Specifies the fill color for the Solid fill style. |
Start Color | Specifies the top fill color for the Linear Gradient fill style. |
End Color | Specifies the bottom fill color for the Linear Gradient fill style. |
Inner Color | Specifies the inner fill color for the Radial Gradient fill style. |
Outer Color | Specifies the outer fill color for the Radial Gradient fill style. |