[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.GeometryGroup.Create

Create Method

Create(Factory, FillMode, Geometry[])

Creates an GeometryGroup, which is an object that holds other geometries.

Declaration
public static GeometryGroup Create(Factory factory, FillMode fillMode, Geometry[] geometries)
Parameters
Type Name Description
Factory factory

an instance of Factory

FillMode fillMode

A value that specifies the rule that a composite shape uses to determine whether a given point is part of the geometry.

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.

Returns
Type Description
GeometryGroup
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 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.