FL.objects.TTPoint.TTPoint

class FL.objects.TTPoint.TTPoint

Bases: object

TTPoint - class to represent a TrueType point

All coordinates in TTPoint class are set in 10.6 fixed-point format

__init__() None
TTPoint()

generic constructor, creates a TTPoint with zero coordinates

Methods

__init__()

TTPoint()

Attributes

flag

point's flag (on-curve or off-curve)

x

x coordinate

y

y coordinate

property flag: int

point’s flag (on-curve or off-curve)

Returns:

_description_

Return type:

int

property x: int

x coordinate

Returns:

_description_

Return type:

int

property y: int

y coordinate

Returns:

_description_

Return type:

int