Application 1-use Silverlight for a five-star red flag

Source: Internet
Author: User
Tags silverlight

Success,

Code 1:
========================================================== ======================================
<Canvas xmlns = "http://schemas.microsoft.com/client/2007"
Xmlns: x = "http://schemas.microsoft.com/winfx/2006/xaml" background = "red" width = "300" Height = "200">

<Canvas. Left = "30" canvas. Top = "35">
<Polygon canvas. Left = "50" canvas. Top = "30" stroke = "red" fill = "yellow"
Points = "30 30, 30 40, 0 50, 30 80, 30, 80, 60 15, 80">
<Polygon. rendertransform>
<Scaletransform scalex = "0.21" scaley = "0.21"/>
</Polygon. rendertransform>
</Polygon>
</Canvas>

<Canvas. Left = "30" canvas. Top = "30">
<Polygon canvas. Left = "60" canvas. Top = "15" stroke = "red" fill = "yellow"
Points = "30 30, 30 40, 0 50, 30 80, 30, 80, 60 15, 80">
<Polygon. rendertransform>
<Scaletransform scalex = "0.21" scaley = "0.21"/>
</Polygon. rendertransform>
</Polygon>
</Canvas>

<Canvas. Left = "30" canvas. Top = "20">
<Polygon canvas. Left = "60" canvas. Top = "5" stroke = "red" fill = "yellow"
Points = "30 30, 30 40, 0 50, 30 80, 30, 80, 60 15, 80">
<Polygon. rendertransform>
<Scaletransform scalex = "0.21" scaley = "0.21"/>
</Polygon. rendertransform>
</Polygon>
</Canvas>

<Canvas. Left = "30" canvas. Top = "0">
<Polygon canvas. Left = "50" canvas. Top = "5" stroke = "red" fill = "yellow"
Points = "30 30, 30 40, 0 50, 30 80, 30, 80, 60 15, 80">
<Polygon. rendertransform>
<Scaletransform scalex = "0.21" scaley = "0.21"/>
</Polygon. rendertransform>
</Polygon>
</Canvas>

<Canvas. Left = "5" canvas. Top = "0">
<Polygon canvas. Left = "20" canvas. Top = "20" stroke = "red" fill = "yellow"
Points = "30 30, 30 40, 0 50, 30 80, 30, 80, 60 15, 80">
<Polygon. rendertransform>
<Scaletransform scalex = "0.5" scaley = "0.5"/>
</Polygon. rendertransform>
</Polygon>
</Canvas>

</Canvas>
========================================================== ====================================

I saw the five-star red flag, but the five-star red flag is not standard enough. I have time to refine it. Of course, some friends will help me refine it better :)

Forge ahead, boldly innovate
Montgomery Zhu

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.