StiGisRect Struct

Namespace: Stimulsoft.Map.Gis.Core

Constructors

Constructor Description
StiGisRect(StiGisPoint location, StiGisSize size)  
StiGisRect(int x, int y, int width, int height)  

StiGisRect(location: StiGisPoint, size: StiGisSize)

Parameters


StiGisRect(x: int, y: int, width: int, height: int)

Parameters

  • x (int)
  • y (int)
  • width (int)
  • height (int)

Properties

Property Type Description
Height int  
Width int  
X int  
Y int  

Methods

Method Returns Description
Contains (+2 overloads) bool  
Equals bool  
GetHashCode int  
Inflate void  
Offset void  
OffsetNegative void  
ToString string  

Method Details

Contains

Contains(x: int, y: int): bool

Parameters

  • x (int)
  • y (int)

Returns bool


Contains(pt: StiGisPoint): bool

Parameters

Returns bool


Contains(rect: StiGisRect): bool

Parameters

Returns bool


Equals

Equals(obj: object): bool

Parameters

  • obj (object)

Returns bool


GetHashCode

GetHashCode(): int

Returns int


Inflate

Inflate(width: int, height: int): void

Parameters

  • width (int)
  • height (int)

Offset

Offset(x: int, y: int): void

Parameters

  • x (int)
  • y (int)

OffsetNegative

OffsetNegative(pos: StiGisPoint): void

Parameters


ToString

ToString(): string

Returns string

Fields

Field Type Description
Bottom int  
Empty StiGisRect  
IsEmpty bool  
Left int  
LeftBottom StiGisPoint  
Right int  
RightBottom StiGisPoint  
RightTop StiGisPoint  
Top int