using System.Runtime.InteropServices; namespace Raylib_cs { /// /// N-Patch layout info /// [StructLayout(LayoutKind.Sequential)] public struct NPatchInfo { /// /// Texture source rectangle /// public Rectangle source; /// /// Left border offset /// public int left; /// /// Top border offset /// public int top; /// /// Right border offset /// public int right; /// /// Bottom border offset /// public int bottom; /// /// Layout of the n-patch: 3x3, 1x3 or 3x1 /// public NPatchLayout layout; } }