Leadtools Namespace > RasterImage Class > AddPolygonToRegion Method : AddPolygonToRegion(RasterRegionXForm,RasterCollection<LeadPoint>,LeadFillMode,RasterRegionCombineMode) Method |
Indicates how to handle complex crossing lines.
Value | Meaning |
---|---|
LeadPoint.Winding | All pixels that are inside the resulting exterior lines are in the region. |
LeadFillMode.Alternate | The region includes the area between odd-numbered and even-numbered polygon sides on each scan line. |
Indicates how to handle complex crossing lines.
Value | Meaning |
---|---|
LeadPoint.Winding | All pixels that are inside the resulting exterior lines are in the region. |
LeadFillMode.Alternate | The region includes the area between odd-numbered and even-numbered polygon sides on each scan line. |
To update an existing region, you specify how the new region is to be combined with the existing one using the combineMode parameter. For more information, refer to RasterRegionCombineMode.
For more information, refer to Creating a Region.
For more information, refer to Saving A Region.
For more information, refer to Working with the Existing Region.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2