Version

Flatten(Matrix,Single) Method

Converts each curve in this CarouselPath into a sequence of connected line segments.
Syntax
'Declaration
 
Public Overloads Sub Flatten( _
   ByVal matrix As Matrix, _
   ByVal flatness As Single _
) 
public void Flatten( 
   Matrix matrix,
   float flatness
)

Parameters

matrix
A System.Drawing.Drawing2D.Matrix by which to transform this CarouselPath before flattening.
flatness
Specifies the maximum permitted error between the curve and its flattened approximation. A value of 0.25 is the default. Reducing the flatness value will increase the number of line segments in the approximation.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also