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

Drawable surface extent. More...

Inheritance diagram for eVision.EDrawableExtent:
Collaboration diagram for eVision.EDrawableExtent:

Public Member Functions

 EDrawableExtent ()
 Constructs an EDrawableExtent.
 EDrawableExtent (int left, int top, uint width, uint height)
 Constructs an EDrawableExtent.
 EDrawableExtent (eVision.EDrawableExtent other)
 Constructs an EDrawableExtent.
int IsInfinite ()
 Whether the EDrawableExtent is finite.
bool DoesContainPoint (int x, int y)
 Tests whether the EDrawableExtent contains the given point.
bool DoesContainHorizontalLine (int y, int x1, int x2)
 Tests whether the EDrawableExtent contains the given horizontal line.
bool DoesContainRectangle (int rectangleLeft, int rectangleTop, uint rectangleWidth, uint rectangleHeight)
 Tests whether the EDrawableExtent contains the given rectangle.

Properties

int Left [get]
 Gets the left limit of the EDrawableExtent.
int Top [get]
 Gets the top limit of the EDrawableExtent.
int RightExclusive [get]
 Gets the right limit of the EDrawableExtent.
int BottomExclusive [get]
 Gets the bottom limit of the EDrawableExtent.
uint Width [get]
 Gets the width of the EDrawableExtent.
uint Height [get]
 Gets the height of the EDrawableExtent.

Detailed Description

Drawable surface extent.

License(s): None

Constructor & Destructor Documentation

◆ EDrawableExtent() [1/3]

eVision.EDrawableExtent.EDrawableExtent ( )

Constructs an EDrawableExtent.

◆ EDrawableExtent() [2/3]

eVision.EDrawableExtent.EDrawableExtent ( int left,
int top,
uint width,
uint height )

Constructs an EDrawableExtent.

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

◆ EDrawableExtent() [3/3]

eVision.EDrawableExtent.EDrawableExtent ( eVision.EDrawableExtent other)

Constructs an EDrawableExtent.

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

Member Function Documentation

◆ DoesContainHorizontalLine()

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

Tests whether the 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 ( int x,
int y )

Tests whether the EDrawableExtent contains the given point.

Parameters
xabscissa of the point
yordinate of the point

◆ DoesContainRectangle()

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

Tests whether the 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

◆ IsInfinite()

int eVision.EDrawableExtent.IsInfinite ( )

Whether the EDrawableExtent is finite.

Property Documentation

◆ BottomExclusive

int eVision.EDrawableExtent.BottomExclusive
get

Gets the bottom limit of the EDrawableExtent.

◆ Height

uint eVision.EDrawableExtent.Height
get

Gets the height of the EDrawableExtent.

◆ Left

int eVision.EDrawableExtent.Left
get

Gets the left limit of the EDrawableExtent.

◆ RightExclusive

int eVision.EDrawableExtent.RightExclusive
get

Gets the right limit of the EDrawableExtent.

◆ Top

int eVision.EDrawableExtent.Top
get

Gets the top limit of the EDrawableExtent.

◆ Width

uint eVision.EDrawableExtent.Width
get

Gets the width of the EDrawableExtent.