Bitmap for WPF
Compare(Geometry,Single) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct2D 名前空間 > Geometry クラス > Compare メソッド : Compare(Geometry,Single) メソッド
The geometry to test.
The maximum bounds on the distance between points in the polygonal approximation of the geometries. Smaller values produce more accurate results but cause slower execution.
Describes the intersection between this geometry and the specified geometry. The comparison is performed by using the specified flattening tolerance.
シンタックス
'宣言
 
Public Overloads Function Compare( _
   ByVal inputGeometry As Geometry, _
   ByVal flatteningTolerance As System.Single _
) As GeometryRelation
public GeometryRelation Compare( 
   Geometry inputGeometry,
   System.float flatteningTolerance
)

パラメータ

inputGeometry
The geometry to test.
flatteningTolerance
The maximum bounds on the distance between points in the polygonal approximation of the geometries. Smaller values produce more accurate results but cause slower execution.

戻り値の型

When this method returns, contains a reference to a value that describes how this geometry is related to inputGeometry. You must allocate storage for this parameter.
解説
When interpreting the returned relation value, it is important to remember that the member C1.Win.DX.Direct2D.GeometryRelation.IsContainedof the D2D1_GEOMETRY_RELATION enumeration type means that this geometry is contained inside inputGeometry, not that this geometry contains inputGeometry. For more information about how to interpret other possible return values, see C1.Win.DX.Direct2D.GeometryRelation.
参照

Geometry クラス
Geometry メンバ
オーバーロード一覧