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 > FromCurve Method : FromCurve(RasterRegionXForm,IList<LeadPoint>,Single,LeadFillMode) 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 static RasterRegion FromCurve( RasterRegionXForm xform, IList<LeadPoint> points, float tension, LeadFillMode fillMode )
'Declaration
Public Overloads Shared Function FromCurve( _ ByVal xform As RasterRegionXForm, _ ByVal points As IList(Of LeadPoint), _ ByVal tension As Single, _ ByVal fillMode As LeadFillMode _ ) As RasterRegion
'Usage
Dim xform As RasterRegionXForm Dim points As IList(Of LeadPoint) Dim tension As Single Dim fillMode As LeadFillMode Dim value As RasterRegion value = RasterRegion.FromCurve(xform, points, tension, fillMode)
public static RasterRegion FromCurve( RasterRegionXForm xform, Windows.Foundation.Collections.IVector //In WinRT the IListinterface is replaced by IVector <LeadPoint> points, float tension, LeadFillMode fillMode )
function Leadtools.RasterRegion.FromCurve(RasterRegionXForm,IList{LeadPoint},Single,LeadFillMode)( xform , points , tension , fillMode )
public: static RasterRegion^ FromCurve( RasterRegionXForm^ xform, IList<LeadPoint>^ points, float tension, LeadFillMode fillMode )
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. |
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.