fontgate.fgVector
fgVector
Vector representation
Constructors: fgVector() - default fgVector(fgVector) - copy fgVector(fgPoint q0[, fgPoint q1]) - from one or two points fgVector(fgPoint, float l, float a)
Native bases: object
Captured native MRO: fgVector, object
Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
__init__ |
function | (self, /, *args: Any, **kwargs: Any) -> None |
Initialize self. (shared captured text) |
angle |
function | (self) -> float |
|
angleTo |
function | (self, arg0: fgVector) -> float |
|
asDict |
function | (self, *args: Any, **kwargs: Any) -> Any |
Represent object as dictionary (shared captured text) |
asTuple |
function | (self, *args: Any, **kwargs: Any) -> Any |
Represent object as tuple (shared captured text) |
bbox |
function | (self) -> fgRect |
(shared captured text) |
center |
function | (self) -> fgPoint |
(shared captured text) |
delta |
function | (self) -> fgPoint |
|
direction |
function | (self) -> fgPoint |
(shared captured text) |
equivalent |
function | (self, arg0: fgVector) -> bool |
|
intersect |
function | (self, *args: Any, **kwargs: Any) -> Any |
FgPoint/None intersect(fgVector) or (fgPoint, t)/None intersect(fgVector, bool get_t) |
intersectY |
function | (self, pos: float) -> Any |
Float/None intersectY(float pos) |
len |
function | (self) -> float |
Float len() - distance between q0 and q1 |
parallel |
function | (self, arg0: fgVector) -> bool |
|
point |
function | (self, time: float) -> fgPoint |
(shared captured text) |
q0 |
attribute | Any |
(shared captured text) |
q1 |
attribute | Any |
(shared captured text) |
time |
function | (self, arg0: fgPoint) -> float |