Create a new npatch_info object.
Arguments
- source
A rectangle. Texture source rectangle.
- left
An integer. Left border offset.
- top
An integer. Top border offset.
- right
An integer. Right border offset.
- bottom
An integer. Bottom border offset.
- layout
An integer. Layout of the n-patch: 3x3, 1x3 or 3x1.
Note
This class has been auto-generated from the following Raylib struct definition:
typedef struct NPatchInfo {// Texture source rectangle
Rectangle source; // Left border offset
int left; // Top border offset
int top; // Right border offset
int right; // Bottom border offset
int bottom; // Layout of the n-patch: 3x3, 1x3 or 3x1
int layout; } NPatchInfo;