BinPack2DPackage (struct)¶
A package inside of a BinPack2DContainer. Each package describes the index of the original data, its region (coordinate and size) as well as the rotation.
Members¶
UInt32 | index | |
Boolean | rotated | |
BinPack2DRegion | region |
Methods¶
BinPack2DPackage ( in BinPack2DPackage other ) | |
BinPack2DPackage ( in UInt32 index, in BinPack2DRegion region, in Boolean rotated ) | |
BinPack2DPackage ( in UInt32 index, in SInt32 width, in SInt32 height ) | |
BinPack2DPackage () | |
Rotate ! () | |
BinPack2DPackage | clone ? () |
Methods in detail¶
BinPack2DPackage ( in BinPack2DPackage other )
copy constructor
BinPack2DPackage ( in UInt32 index, in BinPack2DRegion region, in Boolean rotated )
BinPack2DPackage ( in UInt32 index, in SInt32 width, in SInt32 height )
default constructor
BinPack2DPackage.Rotate! ()
toggles the package’s rotation by 90 degrees
BinPack2DPackage BinPack2DPackage.clone? ()
clone method