ColorBorderTexture
ColorBorderTexture draws only a coloured border around a rectangle — no fill. A positive border value draws outside the element bounds; a negative value draws inside.
Registry name: color_border_texture
Extends TransformTexture — supports rotate(), scale(), transform().
Usage
LSS
Fields
| Name | Type | Description |
|---|---|---|
border |
int |
Border thickness in pixels. Positive = outside, negative = inside. |
color |
int |
Packed ARGB colour. |
Methods
| Method | Returns | Description |
|---|---|---|
setBorder(int) |
ColorBorderTexture |
Sets the border thickness. |
setColor(int) |
ColorBorderTexture |
Sets the packed ARGB colour. |
copy() |
ColorBorderTexture |
Returns a deep copy. |
interpolate(IGuiTexture, float) |
IGuiTexture |
Blends border and colour towards another ColorBorderTexture. |