Properties
- outerLeft : Defines a LEFT offset for drawing
- outerTop : Defines a TOP offset for drawing
- scaleBottom : Specifies the distance in pixels from the BOTTOM of the image in a 9-slice scaling formatting system.
- scaleLeft : Specifies the distance in pixels from the LEFT of the image in a 9-slice scaling formatting system.
- scaleRight : Specifies the distance in pixels from the RIGHT of the image in a 9-slice scaling formatting system.
- scaleTop : Specifies the distance in pixels from the TOP of the image in a 9-slice scaling formatting system.
- smooth : If false, upscaled bitmap images are rendered by using a nearest-neighbor algorithm and look pixelated.
- source : The source used for the bitmap fill.
Sample
<primitives:ScaleBitmapImage
source="@Embed('gfx/backButton.png')"
smooth="true"
top="0" bottom="0" left="0" right="0"
scaleTop="48"
scaleBottom="17"
scaleLeft="48"
scaleRight="11"
outerTop="0"
outerLeft="10"/>