Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / GeometryGroup Class / Create Method
an instance of Factory
A value that specifies the rule that a composite shape uses to determine whether a given point is part of the geometry.
An array containing the geometry objects to add to the geometry group. The number of elements in this array is indicated by the geometriesCount parameter.

In This Topic
    Create Method (GeometryGroup)
    In This Topic
    Creates an GeometryGroup, which is an object that holds other geometries.
    Syntax
    'Declaration
     
    Public Shared Function Create( _
       ByVal factory As Factory, _
       ByVal fillMode As FillMode, _
       ByVal geometries() As Geometry _
    ) As GeometryGroup
    public static GeometryGroup Create( 
       Factory factory,
       FillMode fillMode,
       Geometry[] geometries
    )

    Parameters

    factory
    an instance of Factory
    fillMode
    A value that specifies the rule that a composite shape uses to determine whether a given point is part of the geometry.
    geometries
    An array containing the geometry objects to add to the geometry group. The number of elements in this array is indicated by the geometriesCount parameter.
    Remarks
    Geometry groups are a convenient way to group several geometries simultaneously so all figures of several distinct geometries are concatenated into one. To create a GeometryGroup object, call the CreateGeometryGroup method on the Factory object, passing in the fillMode with possible values of FillMode.Alternate (alternate) and D2D1_FILL_MODE_WINDING, an array of geometry objects to add to the geometry group, and the number of elements in this array.
    See Also