\Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleFill

A PHP class representing the fill setting of MapLayerDefaultsShapeStyle.

Methods

color

The default fill color for layer shapes. Accepts a valid CSS color string, including hex and rgb.

Returns

\Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleFill

Parameters

$value string

Example

<?php
$fill = new \Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleFill();
$fill->color('value');
?>

opacity

The default fill opacity (0 to 1) for layer shapes.

Returns

\Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleFill

Parameters

$value float

Example

<?php
$fill = new \Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleFill();
$fill->opacity(1);
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy