SoFunction
Updated on 2025-04-14

Flex Gumbo Example of setting the smoothness of BitmapGraphic object through smooth attribute


<?xml version="1.0" encoding="utf-8"?>
<Application name="BitmapGraphic_smooth_test"
xmlns="/mxml/2009"
layout="vertical"
verticalAlign="middle"
backgroundColor="white">

<ApplicationControlBar dock="true">
<Form styleName="plain">
<FormItem label="smooth:">
<CheckBox />
</FormItem>
<FormItem label="rotation:">
<HSlider
minimum="0"
maximum="360"
snapInterval="1"
tickInterval="15"
liveDragging="true" />
</FormItem>
</Form>
</ApplicationControlBar>

<Graphic>
<BitmapGraphic
source="@Embed('assets/fx_appicon')"
rotation="{}"
smooth="{}" />
</Graphic>

</Application>