phoenix_title wx.lib.ogl.lines.ArrowHead

The arrow head class.


class_hierarchy Class Hierarchy

Inheritance diagram for class ArrowHead:

method_summary Methods Summary

__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.


api Class API

class ArrowHead(object)

The arrow head class.


Methods

__init__(self, type = 0, end = 0, size = 0.0, dist = 0.0, name = "", mf = None, arrowId = -1)

Default class constructor.

Parameters:
  • type (int) – the type

    Arrow head type

    Description

    ARROW_HOLLOW_CIRCLE

    a hollow circle

    ARROW_FILLED_CIRCLE

    a filled circle

    ARROW_ARROW

    an arrow

    ARROW_SINGLE_OBLIQUE

    a single oblique

    ARROW_DOUBLE_OBLIQUE

    a double oblique

    ARROW_METAFILE

    custom, define in metafile

  • end (int) – end of arrow head ???

  • size (float) – size of arrow head

  • dist (float) – dist ???

  • name (string) – name of arrow head

  • mf – mf ???

  • arrowId – id of arrow head



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???