Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.Rectangle
类 Engine.Rectangle 继承关系图:
Engine.Rectangle 的协作图:

Public 成员函数

 Rectangle (int left, int top, int width, int height)
bool Equals (Rectangle other)
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()
bool Contains (Point2 p)
bool Intersection (Rectangle r)

静态 Public 成员函数

static implicit operator Rectangle ((int Left, int Top, int Width, int Height) v)
static Rectangle Intersection (Rectangle r1, Rectangle r2)
static Rectangle Union (Rectangle r1, Rectangle r2)
static bool operator== (Rectangle r1, Rectangle r2)
static bool operator!= (Rectangle r1, Rectangle r2)

Public 属性

int Left
int Top
int Width
int Height

静态 Public 属性

static Rectangle Empty

属性

Point2 Location [get, set]
Point2 Size [get, set]
int Right [get]
int Bottom [get]

详细描述

在文件 Rectangle.cs2 行定义.

构造及析构函数说明

◆ Rectangle()

Engine.Rectangle.Rectangle ( int left,
int top,
int width,
int height )

在文件 Rectangle.cs33 行定义.

这是这个函数的调用关系图:

成员函数说明

◆ Contains()

bool Engine.Rectangle.Contains ( Point2 p)

在文件 Rectangle.cs50 行定义.

这是这个函数的调用关系图:

◆ Equals() [1/2]

override bool Engine.Rectangle.Equals ( object obj)

在文件 Rectangle.cs44 行定义.

函数调用图:

◆ Equals() [2/2]

bool Engine.Rectangle.Equals ( Rectangle other)

在文件 Rectangle.cs42 行定义.

函数调用图:

◆ GetHashCode()

override int Engine.Rectangle.GetHashCode ( )

在文件 Rectangle.cs46 行定义.

◆ Intersection() [1/2]

bool Engine.Rectangle.Intersection ( Rectangle r)

在文件 Rectangle.cs52 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Intersection() [2/2]

Rectangle Engine.Rectangle.Intersection ( Rectangle r1,
Rectangle r2 )
static

在文件 Rectangle.cs60 行定义.

函数调用图:

◆ operator Rectangle()

implicit Engine.Rectangle.operator Rectangle ( (int Left, int Top, int Width, int Height) v)
static

在文件 Rectangle.cs40 行定义.

◆ operator!=()

bool Engine.Rectangle.operator!= ( Rectangle r1,
Rectangle r2 )
static

在文件 Rectangle.cs78 行定义.

函数调用图:

◆ operator==()

bool Engine.Rectangle.operator== ( Rectangle r1,
Rectangle r2 )
static

在文件 Rectangle.cs76 行定义.

函数调用图:

◆ ToString()

override string Engine.Rectangle.ToString ( )

在文件 Rectangle.cs48 行定义.

◆ Union()

Rectangle Engine.Rectangle.Union ( Rectangle r1,
Rectangle r2 )
static

在文件 Rectangle.cs68 行定义.

函数调用图:

类成员变量说明

◆ Empty

Rectangle Engine.Rectangle.Empty
static

在文件 Rectangle.cs11 行定义.

◆ Height

int Engine.Rectangle.Height

在文件 Rectangle.cs9 行定义.

◆ Left

int Engine.Rectangle.Left

在文件 Rectangle.cs3 行定义.

◆ Top

int Engine.Rectangle.Top

在文件 Rectangle.cs5 行定义.

◆ Width

int Engine.Rectangle.Width

在文件 Rectangle.cs7 行定义.

属性说明

◆ Bottom

int Engine.Rectangle.Bottom
get

在文件 Rectangle.cs31 行定义.

◆ Location

Point2 Engine.Rectangle.Location
getset

在文件 Rectangle.cs13 行定义.

◆ Right

int Engine.Rectangle.Right
get

在文件 Rectangle.cs29 行定义.

◆ Size

Point2 Engine.Rectangle.Size
getset

在文件 Rectangle.cs21 行定义.


该结构体的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Engine/Engine/Rectangle.cs