【问题标题】:WPF show video in ellipse shapeWPF以椭圆形显示视频
【发布时间】:2011-02-15 09:49:08
【问题描述】:

我想以椭圆形显示视频。

我该怎么做?

我可以使用 Clip 属性吗?如果有,怎么做?

【问题讨论】:

    标签: c# wpf video mediaelement clipping


    【解决方案1】:
    <MediaElement Source="YourMediaElement">
        <MediaElement.Clip>
            <EllipseGeometry Center="150,150" RadiusX="50" RadiusY="50"/>
        </MediaElement.Clip>
    </MediaElement>
    

    【讨论】:

      猜你喜欢
      • 2022-01-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多