FillRule=Nonzero : Polygon « Windows Presentation Foundation « VB.Net

Home
VB.Net
1.2D
2.Application
3.Class
4.Data Structure
5.Data Types
6.Database ADO.net
7.Development
8.Event
9.File Directory
10.Generics
11.GUI
12.Language Basics
13.LINQ
14.Network Remote
15.Security
16.Thread
17.Windows Presentation Foundation
18.Windows System
19.XML
20.XML LINQ
VB.Net Tutorial
VB.Net by API
VB.Net » Windows Presentation Foundation » PolygonScreenshots 
FillRule=Nonzero
FillRule=Nonzero
     

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="Microsoft.Samples.Graphics.RectangleExample"
    WindowTitle="Example">
  <Canvas>
      <Polygon
        Points="10,100 50,0 90,100 0,35 100,35"
        Fill="Gold"
        Stroke="Black"
        StrokeThickness="3"
        FillRule="Nonzero"
        Canvas.Top="20">
      </Polygon>
  </Canvas>
</Page>

   
    
    
    
    
  
Related examples in the same category
1.Setting Points for PolygonSetting Points for Polygon
2.FillRule="Nonzero" for PolygonFillRule=
3.A PolygonA Polygon
4.Polygon FillRule=NonzeroPolygon FillRule=Nonzero
5.FillRule=EvenOddFillRule=EvenOdd
6.Draws a triangle with a blue interiorDraws a triangle with a blue interior
7.Draws a triangle with a blue interior and a black outlineDraws a triangle with a blue interior and a black outline
8.A triangle with a black outline.A triangle with a black outline.
9.Set Stroke, StrokeThickness for PolygonSet Stroke, StrokeThickness for Polygon
10.Draws polygon with LinearGradientBrushDraws polygon with LinearGradientBrush
11.Shows a line that crosses more than one other lineShows a line that crosses more than one other line
12.Polygon Mouse down eventPolygon Mouse down event
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.