Style
in package
Définition d'un Style de représentation graphique des objets vecteurs inspiré de celui utilisé par Leaflet
Table of Contents
Properties
- $color : int|null
- couleur de trait comme array RVB, si absent pas de couleur de trait
- $fillColor : int|null
- // couleur de remplissage comme array RVB, si absent pas de remplissage
- $title : string
- titre du style
- $weight : int
- épaissur du trait, 1 par défaut
Methods
- __construct() : mixed
- color() : int|null
- fillColor() : int|null
- weight() : int
Properties
$color
couleur de trait comme array RVB, si absent pas de couleur de trait
protected
int|null
$color
$fillColor
// couleur de remplissage comme array RVB, si absent pas de remplissage
protected
int|null
$fillColor
$title
titre du style
protected
string
$title
$weight
épaissur du trait, 1 par défaut
protected
int
$weight
Methods
__construct()
public
__construct(array<string, int|float|array<int, int>> $style, GeoRefImage $grImage) : mixed
Parameters
- $style : array<string, int|float|array<int, int>>
- $grImage : GeoRefImage
color()
public
color() : int|null
Return values
int|nullfillColor()
public
fillColor() : int|null
Return values
int|nullweight()
public
weight() : int