Method FillContainsPoint
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
FillContainsPoint(Point2Float, in Matrix3x2Float?, float?)
Indicates whether the area filled by the geometry would contain the specified point given the specified flattening tolerance.
bool FillContainsPoint(Point2Float point, in Matrix3x2Float? worldTransform = null, float? flatteningTolerance = null)
Parameters
point
Point2FloatThe point to test.
worldTransform
Matrix3x2Float?The transform to apply to the geometry prior to testing for containment, or null for no transform.
flatteningTolerance
float?The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the fill by less than the tolerance are still considered inside. Smaller values produce more accurate results but cause slower execution. If this value is null, FlatteningTolerance.Default will be used.
Returns
- bool
true if the area filled by the geometry contains point; otherwise, false.