IgeTexture

Method: resizeByPercent

Resizes the original texture image to a new size based on percentage. This alters the image that the texture renders so all entities that use this texture will output the newly resized version of the image.
resizeByPercent (Number x, Number y, Boolean dontDraw)
  • Numberx The new width.
  • Numbery The new height.
  • BooleandontDraw If true the resized image will not be drawn to the texture canvas. Useful for just resizing the texture canvas and not the output image. Use in conjunction with the applyFilter() and preFilter() methods.
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point