ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 Single, _
       ByVal strokeWidth As Single, _
       ByVal strokeStyle As StrokeStyle _
    ) As GeometryRealization

    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