phoenix_title wx.lib.analogclock.helpers.Element

Base class for face, hands and tick marks.


class_hierarchy Class Hierarchy

Inheritance diagram for class Element:

sub_classes Known Subclasses

wx.lib.analogclock.helpers.ElementWithDyer, wx.lib.analogclock.helpers.TickCircle, wx.lib.analogclock.helpers.TickDecimal, wx.lib.analogclock.helpers.TickNone, wx.lib.analogclock.helpers.TickPoly, wx.lib.analogclock.helpers.TickSquare


method_summary Methods Summary

__init__

Initialize self. See help(type(self)) for accurate signature.

Draw

DrawRotated

DrawStraight

GetIsRotated

GetMaxSize

GetOffset

GetPolygon

GetScale

GetSize

RecalcCoords

SetClockSize

SetIsRotated

SetOffset

SetPolygon

SetPosition

SetScale

SetSize


api Class API

class Element

Base class for face, hands and tick marks.


Methods

__init__(self, idx=0, pos=None, size=None, offset=0, clocksize=None, scale=1, rotate=False, kind="")

Initialize self. See help(type(self)) for accurate signature.



Draw(self, dc, offset=0)


DrawRotated(self, dc, offset=0)


DrawStraight(self, dc, offset=0)


GetIsRotated(self, rotate)


GetMaxSize(self, scale=1)


GetOffset(self)


GetPolygon(self)


GetScale(self)


GetSize(self)


RecalcCoords(self, clocksize, centre, scale)


SetClockSize(self, clocksize)


SetIsRotated(self, rotate)


SetOffset(self, offset)


SetPolygon(self, polygon)


SetPosition(self, pos)


SetScale(self, scale)


SetSize(self, size)