API / geotoolkit / util / Area / Area
Represents an abstract class that specify model area.
Constructors
Methods
▸ Abstract contains(x, y): boolean
Check if the area contains point
Throws
if illegal argument count
| Name | Type | Description |
|---|---|---|
x | number | x position of the point |
y | number | y position of the point |
boolean
▸ Abstract contains(point): boolean
Check if the area contains point
Throws
if illegal argument count
| Name | Type | Description |
|---|---|---|
point | Point | point |
boolean
▸ Abstract contains(x, y?): boolean
| Name | Type |
|---|---|
x | number | Point |
Optional y | number |
boolean
▸ Abstract getBounds(): Rect
Return bounds and locks the bounds rect from further editing.
bounds
▸ getClassName(): string
string
▸ getProperties(): Record<string, any>
Gets all the properties pertaining to this object
Record<string, any>
▸ setProperties(properties?): Area
Sets all the properties pertaining to this object
| Name | Type | Description |
|---|---|---|
Optional properties | Record<string, any> | object containing the properties to set |
this
▸ Static getClassName(): string
string