FL.objects.TTHPoint.TTHPoint
- class FL.objects.TTHPoint.TTHPoint(tthpoint_or_p_or_x: TTHPoint | Point | int | None = None, mode_or_y: int | None = None)
Bases:
CopyableTTHPoint - class to represent visual TrueType points
All coordinates in TTHPoint class are set in 10.6 fixed-point format TODO: ^ I think this only applies to TTPoint, not TTHPoint
- __init__(tthpoint_or_p_or_x: TTHPoint | Point | int | None = None, mode_or_y: int | None = None) None
Methods
__init__([tthpoint_or_p_or_x, mode_or_y])Attributes
Point's mode (on-curve or off-curve).
Point's state (touched or not).
x coordinate
y coordinate
- property mode: int
Point’s mode (on-curve or off-curve). Read-only.
- Returns:
_description_
- Return type: