ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / GeometryRealization Class / Create Method / Create(DeviceContext1,Geometry,Single,Single,StrokeStyle) Method
The device context where the created instance should be attached to.
The geometry to realize.
The flattening tolerance to use when converting Beziers to line segments. This parameter shares the same units as the coordinates of the geometry.
The width of the stroke. This parameter shares the same units as the coordinates of the geometry.
The stroke style (optional).

In This Topic
    Create(DeviceContext1,Geometry,Single,Single,StrokeStyle) Method
    In This Topic
    Creates a device-dependent representation of the stroke of a geometry that can be subsequently rendered.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal context As DeviceContext1, _
       ByVal geometry As Geometry, _
       ByVal flatteningTolerance As System.Single, _
       ByVal strokeWidth As System.Single, _
       ByVal strokeStyle As StrokeStyle _
    ) As GeometryRealization
    public static GeometryRealization Create( 
       DeviceContext1 context,
       Geometry geometry,
       System.float flatteningTolerance,
       System.float strokeWidth,
       StrokeStyle strokeStyle
    )

    Parameters

    context
    The device context where the created instance should be attached to.
    geometry
    The geometry to realize.
    flatteningTolerance
    The flattening tolerance to use when converting Beziers to line segments. This parameter shares the same units as the coordinates of the geometry.
    strokeWidth
    The width of the stroke. This parameter shares the same units as the coordinates of the geometry.
    strokeStyle
    The stroke style (optional).
    See Also