c# - Video brush orientation in Windows Phone Silverlight 8.1 -
i trying set video brush (viewfinderbrush) rectangle(viewfinderrectangle) fill property.
using following composite transform, preview of video can viewed looks mirror reflection. (for eg. if try move finger left right, shows right left). added xaml code, has rectangle.
viewfinderbrush.relativetransform = new compositetransform() { centerx = 0.5, centery = 0.5, rotation = 270, scalex = -1 }; viewfinderrectangle.fill = viewfinderbrush;
xaml code
<rectangle x:name="viewfinderrectangle" width="640" height="480" horizontalalignment="left" />
please let me know, overcome issue.
Comments
Post a Comment