'Declaration
Public Overloads Overridable Function Flatten( _ ByVal matrix As System.Drawing.Drawing2D.Matrix, _ ByVal flatness As System.Single _ ) As System.Drawing.Drawing2D.GraphicsPath
'Usage
Dim instance As NPathPrimitive Dim matrix As System.Drawing.Drawing2D.Matrix Dim flatness As System.Single Dim value As System.Drawing.Drawing2D.GraphicsPath value = instance.Flatten(matrix, flatness)
Parameters
- matrix
- a Matrix object by which to transform this GraphicsPath before flattening
- flatness
- Specifies the maximum permitted error between the curve and its flattened approximation. Reducing the flatness value will increase the number of line segments in the approximation.
Return Value
flat graphics path