GOffice.Arrow¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
a |
r/w |
first arrow head size parameter. |
|
b |
r/w |
second arrow head size parameter. |
|
c |
r/w |
third arrow head size parameter. |
|
typ |
r/w |
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class GOffice.Arrow¶
- classmethod type_as_str(typ)¶
- Parameters:
typ (
GOffice.ArrowType
) –- Return type:
- clear()¶
- draw(cr, phi)¶
- Parameters:
cr (
cairo.Context
) – cairo surface to draw onphi (
float
) – angle to draw at
- Returns:
- dx:
suggested change of line end-point
- dy:
suggested change of line end-point
- Return type:
- dup()¶
- Return type:
- equal(b)¶
- Parameters:
b (
GOffice.Arrow
) –- Return type:
- init(typ, a, b, c)¶
- Parameters:
typ (
GOffice.ArrowType
) –a (
float
) –b (
float
) –c (
float
) –