diff --git a/src/pixi/extras/TilingSprite.hx b/src/pixi/extras/TilingSprite.hx index 31cfbb7f..f042dde4 100644 --- a/src/pixi/extras/TilingSprite.hx +++ b/src/pixi/extras/TilingSprite.hx @@ -34,10 +34,17 @@ extern class TilingSprite extends Sprite { * @member {Point} */ var tilePosition:Point; + + /** + * Changes frame clamping in corresponding textureTransform, shortcut + * Change to -0.5 to add a pixel to the edge, recommended for transparent trimmed textures in atlas + * @default 0.5 + */ + var clampMargin:Float; /** * Checks if a point is inside this tiling sprite * @param point {Point} the point to check */ function containsPoint(point:Point):Bool; -} \ No newline at end of file +}