X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fshared-javascript-and-cpp-documentation%2Fresource-image-scaling.md;h=887f08230d5f46077cf9a15b35a606f8404f4acd;hb=5cea4b3ad614f535a8fde5854e7f04275dc5e0e9;hp=cc21bc04e66dc2200a738532b179ecfa3cf09347;hpb=9f9bd6287b64fab61422e8b4a0d61a379c47176c;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/shared-javascript-and-cpp-documentation/resource-image-scaling.md b/docs/content/shared-javascript-and-cpp-documentation/resource-image-scaling.md index cc21bc0..887f082 100644 --- a/docs/content/shared-javascript-and-cpp-documentation/resource-image-scaling.md +++ b/docs/content/shared-javascript-and-cpp-documentation/resource-image-scaling.md @@ -39,8 +39,8 @@ var image = new dali.ResourceImage( { url: "gallery-large-12.jpg", width: stageX, height: stageY, - fitting-mode: "SCALE_TO_FILL", - sampling-mode: "BOX_THEN_LINEAR" + fittingMode: "SCALE_TO_FILL", + samplingMode: "BOX_THEN_LINEAR" }); ~~~ @@ -231,22 +231,22 @@ ResourceImage image4 = ResourceImage::New( "flower.png", // JavaScript var image1 = new dali.ResourceImage( { url:"flower.png", width:240, height:240, - fitting-mode:"SCALE_TO_FILL", sampling-mode:"NEAREST" + fittingMode:"SCALE_TO_FILL", samplingMode:"NEAREST" } ); var image2 = new dali.ResourceImage( { url:"flower.png", width:240, height:240, - fitting-mode:"SCALE_TO_FILL", sampling-mode:"NO_FILTER" + fittingMode:"SCALE_TO_FILL", samplingMode:"NO_FILTER" } ); var image3 = new dali.ResourceImage( { url:"flower.png", width:240, height:240, - fitting-mode:"SCALE_TO_FILL", sampling-mode:"BOX" + fittingMode:"SCALE_TO_FILL", samplingMode:"BOX" } ); var image4 = new dali.ResourceImage( { url:"flower.png", width:240, height:240, - fitting-mode:"SCALE_TO_FILL", sampling-mode:"BOX_THEN_LINEAR" + fittingMode:"SCALE_TO_FILL", samplingMode:"BOX_THEN_LINEAR" } ); ~~~