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