HitRegion Class Reference

Class Description

Describes the properties of a region used for built-in hit testing.
+ Inheritance diagram for HitRegion:

Public Member Functions

def GetCircleHitRegion (self)
 
def GetCrossing (self)
 
def GetEpsilon (self)
 
def GetHitDir (self)
 
def GetHitType (self)
 
def GetPointHitRegion (self)
 
def GetRectHitRegion (self)
 
def InitializeFencePoints (self)
 
def PTS (self, args)
 
def SetCircleHitRegion (self, args)
 
def SetCrossing (self, args)
 
def SetEpsilon (self, args)
 
def SetHitDir (self, args)
 
def SetHitType (self, args)
 
def SetPointHitRegion (self, args)
 
def SetRectHitRegion (self, args)
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr (self)
 

Static Public Attributes

tuple circle = _swig_property(GetCircleHitRegion, SetCircleHitRegion)
 
tuple crossing = _swig_property(GetCrossing, SetCrossing)
 
tuple dir = _swig_property(GetHitDir, SetHitDir)
 
 DirLeft = _MaxPlus.HitRegion_DirLeft
 
 DirRight = _MaxPlus.HitRegion_DirRight
 
 DirUndef = _MaxPlus.HitRegion_DirUndef
 
tuple epsilon = _swig_property(GetEpsilon, SetEpsilon)
 
 HitCircle = _MaxPlus.HitRegion_HitCircle
 
 HitFence = _MaxPlus.HitRegion_HitFence
 
 HitPoint = _MaxPlus.HitRegion_HitPoint
 
 HitRect = _MaxPlus.HitRegion_HitRect
 
tuple pt = _swig_property(GetPointHitRegion, SetPointHitRegion)
 
tuple rect = _swig_property(GetRectHitRegion, SetRectHitRegion)
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
tuple type = _swig_property(GetHitType, SetHitType)
 
- Static Public Attributes inherited from Wrapper
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Member Function Documentation

def GetCircleHitRegion (   self)
GetCircleHitRegion(HitRegion self) -> Circle
def GetCrossing (   self)
GetCrossing(HitRegion self) -> int
def GetEpsilon (   self)
GetEpsilon(HitRegion self) -> int
def GetHitDir (   self)
GetHitDir(HitRegion self) -> int
def GetHitType (   self)
GetHitType(HitRegion self) -> int
def GetPointHitRegion (   self)
GetPointHitRegion(HitRegion self) -> Point
def GetRectHitRegion (   self)
GetRectHitRegion(HitRegion self) -> Rect
def InitializeFencePoints (   self)
InitializeFencePoints(HitRegion self)
def PTS (   self,
  args 
)
PTS(HitRegion self, int n) -> Point
def SetCircleHitRegion (   self,
  args 
)
SetCircleHitRegion(HitRegion self, Circle c)
def SetCrossing (   self,
  args 
)
SetCrossing(HitRegion self, int c)
def SetEpsilon (   self,
  args 
)
SetEpsilon(HitRegion self, int e)
def SetHitDir (   self,
  args 
)
SetHitDir(HitRegion self, int d)
def SetHitType (   self,
  args 
)
SetHitType(HitRegion self, int t)
def SetPointHitRegion (   self,
  args 
)
SetPointHitRegion(HitRegion self, Point p)
def SetRectHitRegion (   self,
  args 
)
SetRectHitRegion(HitRegion self, Rect r)