Bitmap for UWP
Outline(GeometrySink) メソッド

C1.UWP.DX アセンブリ > C1.Util.DX.Direct2D 名前空間 > Geometry クラス > Outline メソッド : Outline(GeometrySink) メソッド
The SimplifiedGeometrySinkto which the geometry's transformed outline is appended.
Computes the outline of the geometry and writes the result to an SimplifiedGeometrySink.
シンタックス
'宣言
 
Public Overloads Sub Outline( _
   ByVal geometrySink As GeometrySink _
) 
public void Outline( 
   GeometrySink geometrySink
)

パラメータ

geometrySink
The SimplifiedGeometrySinkto which the geometry's transformed outline is appended.

戻り値の型

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
解説
The {{Outline}} method allows the caller to produce a geometry with an equivalent fill to the input geometry, with the following additional properties: The output geometry contains no transverse intersections; that is, segments may touch, but they never cross.The outermost figures in the output geometry are all oriented counterclockwise. The output geometry is fill-mode invariant; that is, the fill of the geometry does not depend on the choice of the fill mode. For more information about the fill mode, see FillMode.Additionally, the {{Outline}} method can be useful in removing redundant portions of said geometries to simplify complex geometries. It can also be useful in combination with GeometryGroupto create unions among several geometries simultaneously.
参照

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