<StackPanel Width="510" Height="210" > <Canvas Width="500" Height="200" > <MediaElement Name="media" Source="meida/bao.wmv" Opacity="0" IsMuted="True" ></MediaElement> <Ellipse Width="100" Height="100" Canvas.Top="20"> <Ellipse.Fill> <VideoBrush SourceName="media"></VideoBrush> </Ellipse.Fill> </Ellipse> <TextBlock FontFamily="Georgia" Foreground="Blue" FontStyle="Italic" FontSize="40" Canvas.Left="150" Canvas.Top="40" Text="Great Estaes"></TextBlock> <TextBlock Foreground="Blue" Canvas.Left="150" Canvas.Top="120" Text="linux oracle java c++ c pl/sql android iphone"></TextBlock> <Path stroke="Red" strokeThickness="4" > <Path.Data> <PathGeometry> <Pathfigure StartPoint="10,100"> <ArcSegment SweepDirection="Clockwise" Size="2,2" Point="30,100"></ArcSegment> </Pathfigure > <Pathfigure StartPoint="30,2" Point="50,100"></ArcSegment> </Pathfigure> <Pathfigure StartPoint="50,2" Point="70,100"></ArcSegment> </Pathfigure> <Pathfigure StartPoint="70,2" Point="90,100"></ArcSegment> <Linesegment Point="400,100"></Linesegment> </Pathfigure> </PathGeometry> </Path.Data> </Path > <Path stroke="Red" strokeThickness="4" Data="M 10,100 H 90,100"> </Path> </Canvas> </StackPanel>
效果图如下:
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。