C# Класс FootballSimulation.RectangleFExtensions

Provides extension methods for the RectangleF structure.
Показать файл Открыть проект

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

Метод Описание
Contains ( this rectangle, System.Numerics.Vector2 vector ) : bool

Determines if the specified point is contained within this RectangleF structure.

IntersectsOrBorders ( this rectangle, RectangleF other ) : bool

Determines if the specified rectangle either intersects or borders this RectangleF structure.

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

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

Determines if the specified point is contained within this RectangleF structure.
public static Contains ( this rectangle, System.Numerics.Vector2 vector ) : bool
rectangle this The to test.
vector System.Numerics.Vector2 The to test.
Результат bool

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

Determines if the specified rectangle either intersects or borders this RectangleF structure.
public static IntersectsOrBorders ( this rectangle, RectangleF other ) : bool
rectangle this The to test.
other System.Drawing.RectangleF The other to test.
Результат bool