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

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -