[]
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
public bool StrokeContainsPoint(Point2L point, float strokeWidth)
Type | Name | Description |
---|---|---|
Point2L | point | The point to test for containment. |
float | strokeWidth | The thickness of the stroke to apply. |
Type | Description |
---|---|
bool | 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. |
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
public bool StrokeContainsPoint(Point2F point, float strokeWidth)
Type | Name | Description |
---|---|---|
Point2F | point | The point to test for containment. |
float | strokeWidth | The thickness of the stroke to apply. |
Type | Description |
---|---|
bool | 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. |
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
public bool StrokeContainsPoint(Point2L point, float strokeWidth, StrokeStyle strokeStyle)
Type | Name | Description |
---|---|---|
Point2L | point | The point to test for containment. |
float | strokeWidth | The thickness of the stroke to apply. |
StrokeStyle | strokeStyle | The style of stroke to apply. |
Type | Description |
---|---|
bool | 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. |
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
public bool StrokeContainsPoint(Point2F point, float strokeWidth, StrokeStyle strokeStyle)
Type | Name | Description |
---|---|---|
Point2F | point | The point to test for containment. |
float | strokeWidth | The thickness of the stroke to apply. |
StrokeStyle | strokeStyle | The style of stroke to apply. |
Type | Description |
---|---|
bool | 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. |
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
public bool StrokeContainsPoint(Point2L point, float strokeWidth, StrokeStyle strokeStyle, Matrix3x2 transform)
Type | Name | Description |
---|---|---|
Point2L | point | The point to test for containment. |
float | strokeWidth | The thickness of the stroke to apply. |
StrokeStyle | strokeStyle | The style of stroke to apply. |
Matrix3x2 | transform | The transform to apply to the stroked geometry. |
Type | Description |
---|---|
bool | 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. |
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
public bool StrokeContainsPoint(Point2F point, float strokeWidth, StrokeStyle strokeStyle, Matrix3x2 transform)
Type | Name | Description |
---|---|---|
Point2F | point | The point to test for containment. |
float | strokeWidth | The thickness of the stroke to apply. |
StrokeStyle | strokeStyle | The style of stroke to apply. |
Matrix3x2 | transform | The transform to apply to the stroked geometry. |
Type | Description |
---|---|
bool | 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. |
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
public bool StrokeContainsPoint(Point2L point, float strokeWidth, StrokeStyle strokeStyle, Matrix3x2 transform, float flatteningTolerance)
Type | Name | Description |
---|---|---|
Point2L | point | The point to test for containment. |
float | strokeWidth | The thickness of the stroke to apply. |
StrokeStyle | strokeStyle | The style of stroke to apply. |
Matrix3x2 | transform | The transform to apply to the stroked geometry. |
float | 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. |
Type | Description |
---|---|
bool | 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. |
HRESULT ID2D1Geometry::StrokeContainsPoint([In] D2D_POINT_2F point,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out] BOOL* contains)
public bool StrokeContainsPoint(Point2F point, float strokeWidth, StrokeStyle strokeStyle, Matrix3x2? worldTransform, float flatteningTolerance)
Type | Name | Description |
---|---|---|
Point2F | point | |
float | strokeWidth | |
StrokeStyle | strokeStyle | |
Matrix3x2? | worldTransform | |
float | flatteningTolerance |
Type | Description |
---|---|
bool |