jasy.asset.sprite package

Submodules

jasy.asset.sprite.Block module

class jasy.asset.sprite.Block.Block(w, h, image=False)[source]

Bases: builtins.object

toJSON()[source]

jasy.asset.sprite.BlockNode module

class jasy.asset.sprite.BlockNode.BlockNode(parent, x, y, w, h)[source]

Bases: builtins.object

jasy.asset.sprite.BlockPacker module

class jasy.asset.sprite.BlockPacker.BlockPacker(w=0, h=0)[source]

Bases: builtins.object

findNode(root, w, h)[source]
fit(blocks)[source]
getUnused()[source]
growDown(w, h)[source]
growNode(w, h)[source]
growRight(w, h)[source]
splitNode(node, w, h)[source]

jasy.asset.sprite.File module

class jasy.asset.sprite.File.SpriteFile(width, height, relPath, fullPath, checksum)[source]

Bases: builtins.object

jasy.asset.sprite.Sheet module

class jasy.asset.sprite.Sheet.SpriteSheet(packer, blocks)[source]

Bases: builtins.object

export()[source]
write(filename, debug=False)[source]

Module contents