anchor/pivot point
Dummy tag which represent a clone of other sheet
frame rectangle to be rendered to final atlas
for controlling mustache template trailing comma, don't touch
sprite name, normally filename before packing
if Atlasify.Options.basenameOnly = true
there will be no extension.
if Atlasify.Options.appendPath = true
name will include relative path.
9-sliced center rectangle
Oversized tag on rectangle which is bigger than packer itself.
orignal source rectangle
x
and y
refer to the negative offset from the frame rectangle
tag of group packing
alpha trimmed
path/url to the source image
If the rectangle allow rotation
Set the allowRotation tag of the rectangle.
image data object
image data object
hash string generated from image, for identifing
Status from packer whether Sheet
should be rotated.
note: if rot
set to true
, image data will be rotated automaticlly,
and width/height
is swaped.
Status from packer whether Sheet
should be rotated.
note: if rot
set to true
, image data will be rotated automaticlly,
and width/height
is swaped.
Get the area (w * h) of the rectangle
Test if the given rectangle collide with this rectangle.
Test if this rectangle contains the given rectangle.
Extrude edge pixels. Should trimAlpha
first
extrude pixels
Load sheet settings from json object
Rotate image data 90-degree CW, and swap width/height
note: rotate is done automaticly when Sheet.rot
set to true
, normally
you don't need to do this manually unless you know what you are doing.
Return a serialized json object
Crop surrounding transparent pixels
Test if two given rectangle collide each other
Test if the first rectangle contains the second one
Generated using TypeDoc
Creates an instance of Sheet extends
Rectangle
from MaxrectsPackerSheet