12-18-2012 03:58 AM
Hi! I'm trying to create a border using nine-slice image.
selectedControlBorder.png is 12x12 px png where middle 4 pixels are transparent:
#RimCascadesAssetMetaData version=1.0 source: "selectedControlBorder.png" sliceMargins: 4 4 4 4
Loading it with this code:
Container *container = Container::create() .layout(new StackLayout) [...] .add(ImageView::create("asset:///images/other/sele
ctedControlBorder.amd") .preferredSize(500, 500))
When it's rendered it seems like some sort of antialiasing is applied. Does anybody know why this happens and how to avoid this? Thanks!
Solved! Go to Solution.
12-18-2012 10:22 AM