Leadtools Namespace > RasterImage Class > AddCurveToRegion Method : AddCurveToRegion(RasterRegionXForm,RasterCollection<LeadPoint>,Single,LeadFillMode,RasterRegionCombineMode) Method |
Indicates how to handle complex crossing lines.
Value | Meaning |
---|---|
LeadFillMode.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 void AddCurveToRegion( RasterRegionXForm xform, RasterCollection<LeadPoint> points, float tension, LeadFillMode fillMode, RasterRegionCombineMode combineMode )
'Declaration Public Overloads Sub AddCurveToRegion( _ ByVal xform As RasterRegionXForm, _ ByVal points As RasterCollection(Of LeadPoint), _ ByVal tension As Single, _ ByVal fillMode As LeadFillMode, _ ByVal combineMode As RasterRegionCombineMode _ )
'Usage Dim instance As RasterImage Dim xform As RasterRegionXForm Dim points As RasterCollection(Of LeadPoint) Dim tension As Single Dim fillMode As LeadFillMode Dim combineMode As RasterRegionCombineMode instance.AddCurveToRegion(xform, points, tension, fillMode, combineMode)
public void AddCurveToRegion( RasterRegionXForm xform, RasterCollection<LeadPoint> points, float tension, LeadFillMode fillMode, RasterRegionCombineMode combineMode )
public void addCurveToRegion( RasterRegionXForm xform, RasterCollection<LeadPoint> points, float tension, Path.FillType fillMode, RasterRegionCombineMode combineMode )
function Leadtools.RasterImage.AddCurveToRegion(RasterRegionXForm,RasterCollection{LeadPoint},Single,LeadFillMode,RasterRegionCombineMode)( xform , points , tension , fillMode , combineMode )
public: void AddCurveToRegion( RasterRegionXForm^ xform, RasterCollection<LeadPoint>^ points, float tension, LeadFillMode fillMode, RasterRegionCombineMode combineMode )
Indicates how to handle complex crossing lines.
Value | Meaning |
---|---|
LeadFillMode.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.