NineSliceBorder Constructors
Definition
Namespace: Brine2D.Rendering
| Overloads | |
|---|---|
| NineSliceBorder\(float\) | Creates a border with the same inset on all four sides. |
| NineSliceBorder\(float, float\) | Creates a border with symmetric horizontal and vertical insets. |
| NineSliceBorder\(float, float, float, float\) | Creates a border with independent insets for each side. |
NineSliceBorder\(float\) Constructor
Creates a border with the same inset on all four sides.
Parameters
uniform System.Single
NineSliceBorder\(float, float\) Constructor
Creates a border with symmetric horizontal and vertical insets.
Parameters
horizontal System.Single
vertical System.Single
NineSliceBorder\(float, float, float, float\) Constructor
Creates a border with independent insets for each side.
Parameters
left System.Single
top System.Single
right System.Single
bottom System.Single