Bitmap for UWP
StrokeContainsPoint(Point2L,Single,StrokeStyle,Matrix3x2,Single) メソッド

C1.UWP.DX アセンブリ > C1.Util.DX.Direct2D 名前空間 > Geometry クラス > StrokeContainsPoint メソッド : StrokeContainsPoint(Point2L,Single,StrokeStyle,Matrix3x2,Single) メソッド
The point to test for containment.
The thickness of the stroke to apply.
The style of stroke to apply.
The transform to apply to the stroked geometry.
The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the stroke by less than the tolerance are still considered inside. Smaller values produce more accurate results but cause slower execution.
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
シンタックス
'宣言
 
Public Overloads Function StrokeContainsPoint( _
   ByVal point As Point2L, _
   ByVal strokeWidth As System.Single, _
   ByVal strokeStyle As StrokeStyle, _
   ByVal transform As Matrix3x2, _
   ByVal flatteningTolerance As System.Single _
) As System.Boolean
public System.bool StrokeContainsPoint( 
   Point2L point,
   System.float strokeWidth,
   StrokeStyle strokeStyle,
   Matrix3x2 transform,
   System.float flatteningTolerance
)

パラメータ

point
The point to test for containment.
strokeWidth
The thickness of the stroke to apply.
strokeStyle
The style of stroke to apply.
transform
The transform to apply to the stroked geometry.
flatteningTolerance
The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the stroke by less than the tolerance are still considered inside. Smaller values produce more accurate results but cause slower execution.

戻り値の型

When this method returns, contains a boolean value set to true if the geometry's stroke contains the specified point; otherwise, false. You must allocate storage for this parameter.
参照

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