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:
Returns:

dx:suggested change of line end-point
dy:suggested change of line end-point

Return type:

(dx: float, dy: float)

dup()
Return type:GOffice.Arrow
equal(b)
Parameters:b (GOffice.Arrow) –
Return type:bool
init(typ, a, b, c)
Parameters:
init_kite(a, b, c)
Parameters:
init_oval(ra, rb)
Parameters: