C# Класс PixelFarm.Agg.RectD

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Left double
ZeroIntersection RectD

Открытые методы

Метод Описание
Contains ( RectD innerRect ) : bool
Contains ( System.Vector2 position ) : bool
Contains ( double x, double y ) : bool
Equals ( RectD other, double epsilon ) : bool
Equals ( object obj ) : bool
ExpandToInclude ( RectD rectToInclude ) : void
ExpandToInclude ( double x, double y ) : void
GetHashCode ( ) : int
Inflate ( double inflateSize ) : void
IntersectRectangles ( RectD rectToCopy, RectD rectToIntersectWith ) : bool
IntersectWithRectangle ( RectD rectToIntersectWith ) : bool
Offset ( System.Vector2 offset ) : void
Offset ( double x, double y ) : void
RectD ( RectInt intRect ) : System
RectD ( double left, double bottom, double right, double top ) : System
SetRect ( double left, double bottom, double right, double top ) : void
ToString ( ) : string
clip ( RectD r ) : bool
init ( double left, double bottom, double right, double top ) : void
is_valid ( ) : bool
normalize ( ) : RectD
operator ( ) : RectD
operator ( ) : bool
unite_rectangles ( RectD r1, RectD r2 ) : void

Описание методов

Contains() публичный Метод

public Contains ( RectD innerRect ) : bool
innerRect RectD
Результат bool

Contains() публичный Метод

public Contains ( System.Vector2 position ) : bool
position System.Vector2
Результат bool

Contains() публичный Метод

public Contains ( double x, double y ) : bool
x double
y double
Результат bool

Equals() публичный Метод

public Equals ( RectD other, double epsilon ) : bool
other RectD
epsilon double
Результат bool

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

ExpandToInclude() публичный Метод

public ExpandToInclude ( RectD rectToInclude ) : void
rectToInclude RectD
Результат void

ExpandToInclude() публичный Метод

public ExpandToInclude ( double x, double y ) : void
x double
y double
Результат void

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

Inflate() публичный Метод

public Inflate ( double inflateSize ) : void
inflateSize double
Результат void

IntersectRectangles() публичный Метод

public IntersectRectangles ( RectD rectToCopy, RectD rectToIntersectWith ) : bool
rectToCopy RectD
rectToIntersectWith RectD
Результат bool

IntersectWithRectangle() публичный Метод

public IntersectWithRectangle ( RectD rectToIntersectWith ) : bool
rectToIntersectWith RectD
Результат bool

Offset() публичный Метод

public Offset ( System.Vector2 offset ) : void
offset System.Vector2
Результат void

Offset() публичный Метод

public Offset ( double x, double y ) : void
x double
y double
Результат void

RectD() публичный Метод

public RectD ( RectInt intRect ) : System
intRect RectInt
Результат System

RectD() публичный Метод

public RectD ( double left, double bottom, double right, double top ) : System
left double
bottom double
right double
top double
Результат System

SetRect() публичный Метод

public SetRect ( double left, double bottom, double right, double top ) : void
left double
bottom double
right double
top double
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string

clip() публичный Метод

public clip ( RectD r ) : bool
r RectD
Результат bool

init() публичный Метод

public init ( double left, double bottom, double right, double top ) : void
left double
bottom double
right double
top double
Результат void

is_valid() публичный Метод

public is_valid ( ) : bool
Результат bool

normalize() публичный Метод

public normalize ( ) : RectD
Результат RectD

operator() статический публичный Метод

static public operator ( ) : RectD
Результат RectD

operator() публичный статический Метод

public static operator ( ) : bool
Результат bool

unite_rectangles() публичный Метод

public unite_rectangles ( RectD r1, RectD r2 ) : void
r1 RectD
r2 RectD
Результат void

Описание свойств

Left публичное свойство

public double Left
Результат double

ZeroIntersection публичное статическое свойство

public static RectD,PixelFarm.Agg ZeroIntersection
Результат RectD