eVision Python API
Loading...
Searching...
No Matches
eVision.EDrawableExtent Class Reference

Drawable surface extent. More...

Public Member Functions

None __init__ (self)
 Constructs an eVision.EDrawableExtent.
None __init__ (self, int left, int top, int width, int height)
 Constructs an eVision.EDrawableExtent.
None __init__ (self, eVision.EDrawableExtent other)
 Constructs an eVision.EDrawableExtent.
int IsInfinite (self)
 Whether the eVision.EDrawableExtent is finite.
bool DoesContainPoint (self, int x, int y)
 Tests whether the eVision.EDrawableExtent contains the given point.
bool DoesContainHorizontalLine (self, int y, int x1, int x2)
 Tests whether the eVision.EDrawableExtent contains the given horizontal line.
bool DoesContainRectangle (self, int rectangleLeft, int rectangleTop, int rectangleWidth, int rectangleHeight)
 Tests whether the eVision.EDrawableExtent contains the given rectangle.
int Left (self)
 Gets the left limit of the eVision.EDrawableExtent.
int Top (self)
 Gets the top limit of the eVision.EDrawableExtent.
int RightExclusive (self)
 Gets the right limit of the eVision.EDrawableExtent.
int BottomExclusive (self)
 Gets the bottom limit of the eVision.EDrawableExtent.
int Width (self)
 Gets the width of the eVision.EDrawableExtent.
int Height (self)
 Gets the height of the eVision.EDrawableExtent.

Detailed Description

Drawable surface extent.

Remarks:

License(s): None

Constructor & Destructor Documentation

◆ __init__() [1/3]

None eVision.EDrawableExtent.__init__ ( self)

Constructs an eVision.EDrawableExtent.

◆ __init__() [2/3]

None eVision.EDrawableExtent.__init__ ( self,
int left,
int top,
int width,
int height )

Constructs an eVision.EDrawableExtent.

Parameters
leftleft limit of the eVision.EDrawableExtent
toptop limit of the eVision.EDrawableExtent
widthwidth of the eVision.EDrawableExtent
heightheight of the eVision.EDrawableExtent

◆ __init__() [3/3]

None eVision.EDrawableExtent.__init__ ( self,
eVision.EDrawableExtent other )

Constructs an eVision.EDrawableExtent.

Parameters
otherThe other eVision.EDrawableExtent that we will copy into this one.

Member Function Documentation

◆ BottomExclusive()

int eVision.EDrawableExtent.BottomExclusive ( self)

Gets the bottom limit of the eVision.EDrawableExtent.

◆ DoesContainHorizontalLine()

bool eVision.EDrawableExtent.DoesContainHorizontalLine ( self,
int y,
int x1,
int x2 )

Tests whether the eVision.EDrawableExtent contains the given horizontal line.

Parameters
yordinate of the line
x1leftmost abscissa of the line
x2rightmost abscissa of the line

◆ DoesContainPoint()

bool eVision.EDrawableExtent.DoesContainPoint ( self,
int x,
int y )

Tests whether the eVision.EDrawableExtent contains the given point.

Parameters
xabscissa of the point
yordinate of the point

◆ DoesContainRectangle()

bool eVision.EDrawableExtent.DoesContainRectangle ( self,
int rectangleLeft,
int rectangleTop,
int rectangleWidth,
int rectangleHeight )

Tests whether the eVision.EDrawableExtent contains the given rectangle.

Parameters
rectangleLeftleftmost abscissa of the rectangle (included)
rectangleToptopmost ordinate of the rectangle (included)
rectangleWidthwidth of the rectangle
rectangleHeightheight of the rectangle

◆ Height()

int eVision.EDrawableExtent.Height ( self)

Gets the height of the eVision.EDrawableExtent.

◆ IsInfinite()

int eVision.EDrawableExtent.IsInfinite ( self)

Whether the eVision.EDrawableExtent is finite.

◆ Left()

int eVision.EDrawableExtent.Left ( self)

Gets the left limit of the eVision.EDrawableExtent.

◆ RightExclusive()

int eVision.EDrawableExtent.RightExclusive ( self)

Gets the right limit of the eVision.EDrawableExtent.

◆ Top()

int eVision.EDrawableExtent.Top ( self)

Gets the top limit of the eVision.EDrawableExtent.

◆ Width()

int eVision.EDrawableExtent.Width ( self)

Gets the width of the eVision.EDrawableExtent.