ninoslavjaric/map-pin-generator
最新稳定版本:0.1.0
Composer 安装命令:
composer require ninoslavjaric/map-pin-generator
包简介
This is cool
README 文档
README
The first version of this library generates striped pins that point location of something represented by that pin.
How to get dependency
By composer.
composer require ninoslavjaric/map-pin-generator
Implementation
require_once "vendor/autoload.php";
use Logic\PinGenerator;
header("Content-type: image/png");
$pin = PinGenerator::getStripedPin("image.jpg",[
"rgb(100,100,100)",
"rgb(200,200,200)",
]);
echo $pin;
PinGenerator
| Method | Static | Parameters | Description |
|---|---|---|---|
| getStripedPin | true | imageUrl, Array colors, pinWidth = null | Gets striped pin blob content according to rgb color expressions. |
Example output
统计信息
- 总下载量: 152
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-24
