NPatchInfo


Vocabulary
raylib

Class description
Information about a n-patch tile.

Fields
sourceRectangleTexture source rectangle
leftintLeft border offset
topintTop border offset
rightintRight border offset
bottomintBottom border offset
layoutintLayout of the n-patch: 3x3, 1x3 or 3x1


Definition


STRUCT: NPatchInfo
{
source Rectangle initial: S{ Rectangle
{ x 0.0 }
{ y 0.0 }
{ width 0.0 }
{ height 0.0 }
}
} { left int initial: 0 } { top int initial: 0 }
{ right int initial: 0 } { bottom int initial: 0 }
{ layout int initial: 0 } ;


Methods