The arrow head class.
__init__ |
Default class constructor. |
GetArrowEnd |
Get the arrow end position. |
GetArrowSize |
Get the arrow size. |
GetId |
Get the id. |
GetMetaFile |
Get the metafile. |
GetName |
Get the arrow name. |
GetPosition |
Get end position. |
GetSize |
Get the arrow size. |
GetSpacing |
Get the spacing. |
GetXOffset |
Get the X offset. |
GetYOffset |
Get the Y offset. |
SetPosition |
Set end position. |
SetSize |
Set the arrow size. |
SetSpacing |
Set the spacing. |
SetXOffset |
Set the X offset. |
SetYOffset |
Set the Y offset. |
ArrowHead
(object)¶The arrow head class.
__init__
(self, type = 0, end = 0, size = 0.0, dist = 0.0, name = "", mf = None, arrowId = -1)¶Default class constructor.
Parameters: |
|
---|
GetArrowEnd
(self)¶Get the arrow end position.
GetArrowSize
(self)¶Get the arrow size.
GetId
(self)¶Get the id.
GetMetaFile
(self)¶Get the metafile.
GetName
(self)¶Get the arrow name.
GetPosition
(self)¶Get end position.
GetSize
(self)¶Get the arrow size.
GetSpacing
(self)¶Get the spacing.
GetXOffset
(self)¶Get the X offset.
GetYOffset
(self)¶Get the Y offset.
SetPosition
(self, pos)¶Set end position.
Parameters: | pos – position to set it to |
---|
SetSize
(self, size)¶Set the arrow size.
Parameters: | size – size in points??? |
---|
Note
if a custom arrow is used size is used to scale the arrow???
SetSpacing
(self, sp)¶Set the spacing.
Parameters: | sp – the new spacing value |
---|
SetXOffset
(self, x)¶Set the X offset.
Parameters: | x – value to set the offset to??? |
---|
SetYOffset
(self, y)¶Set the Y offset.
Parameters: | y – value to set the offset to??? |
---|