-
-
14 Aug 2016 16:01:35 UTC
- Distribution: CSS-SpriteMaker
- Module version: 0.01
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (0)
- Testers (24 / 5 / 0)
- Kwalitee
Bus factor: 0- 87.50% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (89.86KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- File::Find
- Getopt::Long
- Image::Magick
- Module::Pluggable
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
CSS::SpriteMaker::Layout::Packed::Node - A node of the Packed Layout
VERSION
Version 0.01
METHODS
new
Node constructor.
Parameters:
- X coordinate.
- Y coordinate.
- Image width.
- Image height.
- Flag to determine if the node is used.
- Down (Node class).
- Right (Node class).
find
Find a node to allocate this image size (width, height).
Node to search in.
Parameters:
grow
Grow the canvas to the most appropriate direction.
Parameters:
clone
Clone this object.
grow_right
Grow the canvas to the right.
Parameters:
grow_down
Grow the canvas down.
Parameters:
split
Split the node to allocate a new one of this size.
Parameters:
Module Install Instructions
To install CSS::SpriteMaker, copy and paste the appropriate command in to your terminal.
cpanm CSS::SpriteMaker
perl -MCPAN -e shell install CSS::SpriteMaker
For more information on module installation, please visit the detailed CPAN module installation guide.