Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > RasterRegion Class : FromPolygon 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. |
public static RasterRegion FromPolygon( RasterRegionXForm xform, IList<LeadPoint> points, LeadFillMode fillMode )
'Declaration
Public Shared Function FromPolygon( _ ByVal xform As RasterRegionXForm, _ ByVal points As IList(Of LeadPoint), _ ByVal fillMode As LeadFillMode _ ) As RasterRegion
'Usage
Dim xform As RasterRegionXForm Dim points As IList(Of LeadPoint) Dim fillMode As LeadFillMode Dim value As RasterRegion value = RasterRegion.FromPolygon(xform, points, fillMode)
public static RasterRegion FromPolygon( RasterRegionXForm xform, Windows.Foundation.Collections.IVector //In WinRT the IListinterface is replaced by IVector <LeadPoint> points, LeadFillMode fillMode )
public: static RasterRegion^ FromPolygon( RasterRegionXForm^ xform, IList<LeadPoint>^ points, LeadFillMode fillMode )
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. |
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.