MapGraphicLayer
in package
Table of Contents
Properties
- $graphicRows : array<string|int, MapGraphicRow>
- $byteSize : int
- $graphicRowsCount : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : MapGraphicLayer
- Deserializes an instance of `MapGraphicLayer` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getGraphicRows() : array<string|int, MapGraphicRow>
- getGraphicRowsCount() : int
- serialize() : void
- Serializes an instance of `MapGraphicLayer` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setGraphicRows() : void
- setGraphicRowsCount() : void
Properties
$graphicRows
public
array<string|int, MapGraphicRow>
$graphicRows
= []
$byteSize
private
int
$byteSize
= 0
$graphicRowsCount
private
int
$graphicRowsCount
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `MapGraphicLayer` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : MapGraphicLayer
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
MapGraphicLayer —The deserialized data.
getByteSize()
Returns the size of the data that this was deserialized from.
public
getByteSize() : int
Return values
int —The size of the data that this was deserialized from.
getGraphicRows()
public
getGraphicRows() : array<string|int, MapGraphicRow>
Return values
array<string|int, MapGraphicRow>getGraphicRowsCount()
public
getGraphicRowsCount() : int
Return values
intserialize()
Serializes an instance of `MapGraphicLayer` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, MapGraphicLayer $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : MapGraphicLayer
-
The data to serialize.
setByteSize()
Sets the size of the data that this was deserialized from.
public
setByteSize(int $byteSize) : void
Parameters
- $byteSize : int
-
The size of the data that this was deserialized from.
setGraphicRows()
public
setGraphicRows(array<string|int, MapGraphicRow> $graphicRows) : void
Parameters
- $graphicRows : array<string|int, MapGraphicRow>
setGraphicRowsCount()
public
setGraphicRowsCount(int $graphicRowsCount) : void
Parameters
- $graphicRowsCount : int