fontlab_pens.measure.PointInsidePen · declarations 001
Back to fontlab_pens.measure.PointInsidePen
__init__
__init__(glyphSet: Mapping[str, Any] | None, testPoint: Point, evenOdd: bool = False) -> None
getResult
getResult() -> bool
Return True if the test point is inside the shape.
getWinding
getWinding() -> int
Return the winding number (closing any open sub path first).
setTestPoint
setTestPoint(testPoint: Point, evenOdd: bool = False) -> None
Set the point to test; call before the outline is drawn.